Windows Phone 8.1 WebGL effects Javascript error

Bugs will be moved here once resolved.

Post » Sun Jul 20, 2014 1:57 pm

Problem Description
When using certain WebGL effects and trying to test the Windows Universal 8.1 exported project on a WP 8.1 device (tested on Lumia 625) Visual Studio shows a Javascript error: Unable to set property 'hasCurrentMatMV' of undefined or null reference.
No error on running the game in Windows 8.1, only on Windows Phone 8.1.
I've tested using two effects:
Using the "AdjustHSL" effect causes the error
Using the "Brightness" effect does NOT cause the error

Attach a Capx
WP8.1EffectTest.capx


Description of Capx
The Vertical space shooter template with the added AdjustHSL effect to the player sprite.

Steps to Reproduce Bug
  • Run the exported W8.1 Universal app on a WP8.1 device

Observed Result
Javascript runtime error.

Expected Result
Game to run normally on the device.

Affected Browsers
  • Chrome: (n/a)
  • FireFox: (n/a)
  • Internet Explorer: (n/a)

Operating System and Service Pack
Windows 8.1 Pro 64-bit
Windows Phone 8.1 (8.10.12393.890)

Construct 2 Version ID
r175
You do not have the required permissions to view the files attached to this post.
B
33
S
12
G
7
Posts: 227
Reputation: 7,582

Post » Thu Jul 24, 2014 4:02 pm

Closing as this is a Windows Phone bug, not a Construct 2 bug. In preview-over-wifi mode the error indicates it is an "internal linking error" while compiling the shader. Old versions of desktop IE11 did this and then they fixed it, so WP8.1 is probably still using the old broken version of IE11. There's probably nothing to be done here, it's presumably already fixed and the update just needs to come around to Windows Phone.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454

Post » Sun May 10, 2015 4:59 pm

Still getting this error for both Water and Water Background. Any Workarounds? And what exactly does the error mean?

EDIT: With version r204.2 ans VS2013
Something big is coming...
To the Windows Store, App Store, Play Store and 14 other app marketplaces near you! :)
B
15
S
2
Posts: 62
Reputation: 856

Post » Mon May 11, 2015 10:44 am

As per my previous post, it is a Windows Phone bug and not a Construct 2 bug, so you need to contact Microsoft about it.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests