I was testing my game with the Windows Universal 8.1 export for the first time and while on Windows 8.1 it ran fine, on Windows Phone 8.1 I got a Javascript error: Unable to set property 'hasCurrentMatMV' of undefined or null reference
I tried exporting a template game and it ran perfectly.
Any known causes for this error on windows phone 8.1?