Windows Phone 8.1 WebGL effects Javascript error

  • 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

  • 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.

  • 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

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)