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
[attachment=0:168f1xrx][/attachment:168f1xrx]
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