Fiz o que você falou, e resolvi todos os erros do console do jogo ... mas está aparecendo os seguintes erros ...
Estranho pq a sua versão final esta funcionando normalmente no
browser
'''
HTML1300: Ocorreu navegação.
index.html (1,1)
Warning: Unsupported graphics API WebGL 2.0
You can reduce your startup time if you configure your web server to host .unityweb files using gzip compression.
Loading player data from data.unity3d
Initialize engine version: 2017.3.1f1 (fc1d3344e6ea)
Creating WebGL 1.0 context.
Renderer: Microsoft Edge
Vendor: Microsoft
Version: OpenGL ES 2.0 (WebGL 1.0)
GLES: 2
WEBGL_compressed_texture_s3tc GL_WEBGL_compressed_texture_s3tc OES_texture_float GL_OES_texture_float OES_texture_float_linear GL_OES_texture_float_linear EXT_texture_filter_anisotropic GL_EXT_texture_filter_anisotropic OES_standard_derivatives GL_OES_standard_derivatives ANGLE_instanced_arrays GL_ANGLE_instanced_arrays OES_element_index_uint GL_OES_element_index_uint WEBGL_debug_renderer_info GL_WEBGL_debug_renderer_info WEBGL_depth_texture GL_WEBGL_depth_texture EXT_frag_depth GL_EXT_frag_depth OES_texture_half_float GL_OES_texture_half_float OES_texture_half_float_linear GL_OES_texture_half_float_linear
OPENGL LOG: Creating OpenGL ES 2.0 graphics device ; Context level OpenGL ES 2.0> ; Context handle 1
WARNING: Shader
Unsupported: 'Hidden/BlitToDepth' - Pass '' has no vertex shader
WARNING: Shader
Unsupported: 'Hidden/BlitToDepth' - Setting to default shader.
WARNING: Shader
Unsupported: 'Hidden/BlitToDepth_MSAA' - Pass '' has no vertex shader
WARNING: Shader
Unsupported: 'Hidden/BlitToDepth_MSAA' - Setting to default shader.
Shader compilation errors
(53, 15): Incompatible index expression. For non-uniforms, the index must be an expression formed of the loop_index and integer constants. For uniforms, the index must be an integer constant.
Note: Creation of internal variant of shader 'Hidden/Internal-GUIRoundedRect' failed.
Shader compilation errors
(53, 15): Incompatible index expression. For non-uniforms, the index must be an expression formed of the loop_index and integer constants. For uniforms, the index must be an integer constant.
Note: Creation of internal variant of shader 'Hidden/Internal-GUIRoundedRect' failed.
WARNING: Shader
Unsupported: 'Hidden/Internal-GUIRoundedRect' - Pass '' has no vertex shader
WARNING: Shader
Unsupported: 'Hidden/Internal-GUIRoundedRect' - Pass '' has no vertex shader
Shader compilation errors
(37, 14): Incompatible index expression. For non-uniforms, the index must be an expression formed of the loop_index and integer constants. For uniforms, the index must be an integer constant.
Note: Creation of internal variant of shader 'Hidden/ConvertTexture' failed.
WARNING: Shader
Unsupported: 'Hidden/ConvertTexture' - Pass '' has no vertex shader
WARNING: Shader
Unsupported: 'Hidden/ConvertTexture' - Setting to default shader.
UnloadTime: 7.499992 ms
warning: 2 FS.syncfs operations in flight at once, probably just doing extra work
54
54
SCRIPT5022: SCRIPT5022: abort(54) at Error
at jsStackTrace (blob:null/2e43d139-d204-4488-bbb4-140ff5ca53c8:2:27452)
at stackTrace (blob:null/2e43d139-d204-4488-bbb4-140ff5ca53c8:2:27624)
at abort (blob:null/2e43d139-d204-4488-bbb4-140ff5ca53c8:4:31014)
at invoke_iiiii (blob:null/2e43d139-d204-4488-bbb4-140ff5ca53c8:2:334556)
at browserIterationFunc (blob:null/2e43d139-d204-4488-bbb4-140ff5ca53c8:2:206360)
at Browser.mainLoop.runIter (blob:null/2e43d139-d204-4488-bbb4-140ff5ca53c8:2:188421)
at Browser_mainLoop_runner (blob:null/2e43d139-d204-4488-bbb4-140ff5ca53c8:2:207897)
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.
2e43d139-d204-4488-bbb4-140ff5ca53c8 (2,188562)
Invoking error handler due to
Script error.
'''