pathfind.js 151 fails when WKwebview enabled. Build 230

Bugs will be moved here once resolved.

Post » Mon Aug 01, 2016 2:15 pm

Problem Description
pathfind.js 151 fails when WKwebview enabled. Build 230

Attach a Capx
N/A

Description of Capx
N/A

Steps to Reproduce Bug
Just add pathfinding to a object and set path then export to XDK or Xcode enable WKWebview and when pathfind starts it freezes screen.

Observed Result
When the Wkwebview-engine is installed with cordova the pathfind.js ( Line 151 ) fails due to "SecurityError:DOM Exception 18".
Pathfinding then does not work.

i've added Ive installed WhileList plugin & transport-security plugin to play safe. But no luck.

Expected Result
For pathfinding to work

Affected Browsers
ALL

Operating System and Service Pack
Windows 10 Home / Xcode 7.3.1

Construct 2 Version ID
Release 230, 64-bit
Last edited by cliffordwh on Mon Aug 01, 2016 2:58 pm, edited 3 times in total.
B
11
S
4
Posts: 14
Reputation: 807

Post » Mon Aug 01, 2016 2:19 pm

cliffordwh wrote:Hi , not sure if this is a bug.

When the Wkwebview-engine is installed with cordova the pathfind.js ( Line 151 ) fails due to "SecurityError:DOM Exception 18".

Ive installed WhileList plugin & transport-security plugin to play safe. But no luck.

If i turn the WKwebview off, then all is fine.


Unfortunately, unless you follow the Bug Report Requirements then your report won't even be investigated, and will be closed automatically by Ashley.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,384
Reputation: 58,450

Post » Mon Aug 01, 2016 3:38 pm

Ok, found the problem. Might want to make a note.

Dont use the latest Cordova with Wkwebview. Used 5.4.1 and it solved my problem.
B
11
S
4
Posts: 14
Reputation: 807

Post » Tue Aug 02, 2016 10:23 am

Closing, read the bug report requirements or we will not investigate.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,762


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests