I have found an issue with 2018.2.4 where running a webgl build on firefox and linux, where the following error message appears:
"An error occurred running the Unity content on this page. See your browser JavaScript console for more info. The error was: InvalidStateError"
The web console does not contain any additional information, even with development builds. This occurs on Firefox ESR (52.4.0) on a linux machine with 100% consistency. I'm hosting the build on S3. This occurs both with our project build and also an empty project. On other OS/browser combinations this error does not occur - unfortunately, all our players are on this firefox/linux combo. We are currently on Unity 2017.1 where this issue does not occur, but are eager to finally upgrade to a newer version of Unity.
After dismissing the error prompt, Unity is able to load and play fine. The game works - I just don't want to confront our players with this error message.
I have tried:
- Building with linker set to asm.js and both (webassembly isn't supported on Firefox 52 ESR)
- Building with .NET 3.5 and 4.X equivalent in case that could cause this issue
- Searching google and unity answers for this and similar issues. I haven't found much that seems relevant to my situation
- Rebooting our test hardware and confirming that firefox caches have been cleared
I have also submitted a bug report for this issue. Case 1073101
Any thoughts or suggestions on how to resolve this issue would be welcome. I am continuing to investigate on my own, but would welcome some assistance.
Thanks,
Jarrod
↧
WebGL on Firefox Linux displays InvalidStateError,WebGL on Linux Firefox displays InvalidStateError
↧