Hi,
we have a little problem with our finished WebGL Project in Firefox. Chrome and Safari work like a charm, but in Firefox we are getting following error:
An error occured running the Unity content on this page. See your browser’s JavaScript console for more info. The error was:InvalidStateError
This error can be accepted by hitting ok and going on and playing the WebGL file. Nevertheless it behaves different to the executions in Chrome and Safari. We have a synchronised sound and motion and start this at the same time by script. In Chrome and Safari it is perfectly on point. In Firefox it is totally off. The java Script console points to this - > "Unable to find type [UnityEngine.dll]UnityEngine.SharedBetweenAnimatorsAttribute
This seems to be the reason*,* but I don not know how to fix this!
Here is what console says alltogether:
Successfully compiled asm.js code (total compilation time 3776ms; stored in cache) webGL06.js
“run() called, but dependencies remain, so not running” index.html:63
"Invoking error handler due to
InvalidStateError" UnityConfig.js:74
“pre-main prep time: 1944 ms” index.html:63
“Initialize engine version: 5.0.0b13 (5b8e776198f7)” index.html:59
“Renderer: Mozilla” index.html:59
“Vendor: Mozilla” index.html:59
“Version: WebGL 1.0” index.html:59
“GLES: 0” index.html:59
“ANGLE_instanced_arrays GL_ANGLE_instanced_arrays EXT_frag_depth GL_EXT_frag_depth EXT_texture_filter_anisotropic GL_EXT_texture_filter_anisotropic OES_element_index_uint GL_OES_element_index_uint OES_standard_derivatives GL_OES_standard_derivatives OES_texture_float GL_OES_texture_float OES_texture_float_linear GL_OES_texture_float_linear OES_texture_half_float GL_OES_texture_half_float OES_texture_half_float_linear GL_OES_texture_half_float_linear OES_vertex_array_object GL_OES_vertex_array_object WEBGL_compressed_texture_s3tc GL_WEBGL_compressed_texture_s3tc WEBGL_depth_texture GL_WEBGL_depth_texture WEBGL_lose_context GL_WEBGL_lose_context MOZ_WEBGL_lose_context GL_MOZ_WEBGL_lose_context MOZ_WEBGL_compressed_texture_s3tc GL_MOZ_WEBGL_compressed_texture_s3tc MOZ_WEBGL_depth_texture GL_MOZ_WEBGL_depth_texture” index.html:59
“Creating OpenGLES2.0 graphics device” index.html:59
"Unable to find type [UnityEngine.dll]UnityEngine.SharedBetweenAnimatorsAttribute
" webGL06.js:1
InvalidStateError