Trying build and run simple test project with primitives (builtin shaders) on LG tv (WebOS 4.4).
Need to support asm.js, so linkerTarget set to it.
Build succesfully finished on both Editors (2017.4.40 and 2021.1.28), but on 2021 runtime test on tv - shaders throw errors (ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader).
Using shaders from 2017 in 2021 not helped, problem on compilation step, i think.
2021 not playble (commonly chashes or just camera background)
2017 playble
Is there any way to assign the shaders compilation behavior from the 2017 editor to 2021 or hardcode the precision in Editor core files?
2017 Log
Loading player data from data.unity3d
2017_ASM.asm.framework.js:2 Initialize engine version: 2017.4.40f1 (6e14067f8a9a)
UnityLoader.js:1 Creating WebGL 1.0 context.
2017_ASM.asm.framework.js:2 Renderer: WebKit WebGL
2017_ASM.asm.framework.js:2 Vendor: WebKit
2017_ASM.asm.framework.js:2 Version: OpenGL ES 2.0 (WebGL 1.0 (OpenGL ES 2.0 Chromium))
2017_ASM.asm.framework.js:2 GLES: 2
2017_ASM.asm.framework.js:2 EXT_blend_minmax GL_EXT_blend_minmax EXT_shader_texture_lod GL_EXT_shader_texture_lod OES_EGL_image_external GL_OES_EGL_image_external OES_standard_derivatives GL_OES_standard_derivatives OES_vertex_array_object GL_OES_vertex_array_object WEBGL_compressed_texture_etc1 GL_WEBGL_compressed_texture_etc1 WEBGL_debug_renderer_info GL_WEBGL_debug_renderer_info WEBGL_debug_shaders GL_WEBGL_debug_shaders WEBGL_depth_texture GL_WEBGL_depth_texture WEBKIT_WEBGL_depth_texture GL_WEBKIT_WEBGL_depth_texture WEBGL_lose_context GL_WEBGL_lose_context WEBKIT_WEBGL_lose_context GL_WEBKIT_WEBGL_lose_context
2017_ASM.asm.framework.js:2 OPENGL LOG: Creating OpenGL ES 2.0 graphics device ; Context level <OpenGL ES 2.0> ; Context handle 1
2017_ASM.asm.framework.js:2 WARNING: Shader
2017_ASM.asm.framework.js:2 Unsupported: ‘Hidden/BlitToDepth’ - Pass ‘’ has no vertex shader
2017_ASM.asm.framework.js:2 WARNING: Shader
2017_ASM.asm.framework.js:2 Unsupported: ‘Hidden/BlitToDepth’ - Setting to default shader.
2017_ASM.asm.framework.js:2 WARNING: Shader
2017_ASM.asm.framework.js:2 Unsupported: ‘Hidden/BlitToDepth_MSAA’ - Pass ‘’ has no vertex shader
2017_ASM.asm.framework.js:2 WARNING: Shader
2017_ASM.asm.framework.js:2 Unsupported: ‘Hidden/BlitToDepth_MSAA’ - Setting to default shader.
2017_ASM.asm.framework.js:2 WARNING: 21622816 format is not supported, decompressing texture
2017_ASM.asm.framework.js:2 WARNING: 21261984 format is not supported, decompressing texture
2017_ASM.asm.framework.js:2 UnloadTime: 211.970000 ms
2017_ASM.asm.framework.js:2 WARNING: 23226320 format is not supported, decompressing texture
22017_ASM.asm.framework.js:2 warning: 2 FS.syncfs operations in flight at once, probably just doing extra work
2017_ASM.asm.framework.js:2 warning: 3 FS.syncfs operations in flight at once, probably just doing extra work
2021 Log (ERRORS)
2021_ASM.asm.loader.js:1 Warning: Your browser does not support “WebGL 2” Graphics API, switching to “WebGL 1”
2021_ASM.asm.framework.js:2 Loading player data from data.unity3d
2021_ASM.asm.framework.js:2 Initialize engine version: 2021.1.28f1 (e76c609c6127)
2021_ASM.asm.loader.js:1 Creating WebGL 1.0 context.
2021_ASM.asm.framework.js:2 Renderer: WebKit WebGL
2021_ASM.asm.framework.js:2 Vendor: WebKit
2021_ASM.asm.framework.js:2 Version: OpenGL ES 2.0 (WebGL 1.0 (OpenGL ES 2.0 Chromium))
2021_ASM.asm.framework.js:2 GLES: 2
2021_ASM.asm.framework.js:2 EXT_blend_minmax GL_EXT_blend_minmax EXT_shader_texture_lod GL_EXT_shader_texture_lod OES_EGL_image_external GL_OES_EGL_image_external OES_standard_derivatives GL_OES_standard_derivatives OES_vertex_array_object GL_OES_vertex_array_object WEBGL_compressed_texture_etc1 GL_WEBGL_compressed_texture_etc1 WEBGL_debug_renderer_info GL_WEBGL_debug_renderer_info WEBGL_debug_shaders GL_WEBGL_debug_shaders WEBGL_depth_texture GL_WEBGL_depth_texture WEBKIT_WEBGL_depth_texture GL_WEBKIT_WEBGL_depth_texture WEBGL_lose_context GL_WEBGL_lose_context WEBKIT_WEBGL_lose_context GL_WEBKIT_WEBGL_lose_context
2021_ASM.asm.framework.js:2 OPENGL LOG: Creating OpenGL ES 2.0 graphics device ; Context level <OpenGL ES 2.0> ; Context handle 21087672
2021_ASM.asm.framework.js:2 Input Manager initialize…
2021_ASM.asm.framework.js:2 WARNING: RGBA Compressed DXT5|BC3 UNorm format is not supported, decompressing texture
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘Mobile/VertexLit’ failed.
2021_ASM.asm.framework.js:2 UnloadTime: 262.675000 ms
2021_ASM.asm.framework.js:2 MainScript Awake
2021_ASM.asm.framework.js:2 isMobilePlatform: True
2021_ASM.asm.framework.js:2 platform: WebGLPlayer
2021_ASM.asm.framework.js:2 graphicsShaderLevel: 30
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘Hidden/Internal-GUITexture’ failed.
2021_ASM.asm.framework.js:2 GL.End requires material.SetPass before!
_JS_Log_Dump @ 2021_ASM.asm.framework.js:2tWa @ 2021_ASM.asm.js:5xWa @ 2021_ASM.asm.js:5qWa @ 2021_ASM.asm.js:5pWa @ 2021_ASM.asm.js:5t6b @ 2021_ASM.asm.js:15s6b @ 2021_ASM.asm.js:15YTb @ 2021_ASM.asm.js:19Qjd @ 2021_ASM.asm.js:7Did @ 2021_ASM.asm.js:7xid @ 2021_ASM.asm.js:7cdy @ 2021_ASM.asm.js:40browserIterationFunc @ 2021_ASM.asm.framework.js:2runIter @ 2021_ASM.asm.framework.js:2Browser_mainLoop_runner @ 2021_ASM.asm.framework.js:2
2021_ASM.asm.framework.js:2 WARNING: RGBA Compressed DXT5|BC3 UNorm format is not supported, decompressing texture
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘Sprites/Default’ failed.
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘Sprites/Default’ failed.
2021_ASM.asm.framework.js:2 warning: 2 FS.syncfs operations in flight at once, probably just doing extra work
542021_ASM.asm.framework.js:2 GL.End requires material.SetPass before!
_JS_Log_Dump @ 2021_ASM.asm.framework.js:2tWa @ 2021_ASM.asm.js:5xWa @ 2021_ASM.asm.js:5qWa @ 2021_ASM.asm.js:5pWa @ 2021_ASM.asm.js:5t6b @ 2021_ASM.asm.js:15s6b @ 2021_ASM.asm.js:15YTb @ 2021_ASM.asm.js:19Qjd @ 2021_ASM.asm.js:7Did @ 2021_ASM.asm.js:7xid @ 2021_ASM.asm.js:7cdy @ 2021_ASM.asm.js:40browserIterationFunc @ 2021_ASM.asm.framework.js:2runIter @ 2021_ASM.asm.framework.js:2Browser_mainLoop_runner @ 2021_ASM.asm.framework.js:2
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘Mobile/VertexLit’ failed.
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘Mobile/VertexLit’ failed.
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘Mobile/VertexLit’ failed.
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘Hidden/InternalErrorShader’ failed.
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘Hidden/InternalErrorShader’ failed.
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘TextMeshPro/Mobile/Distance Field’ failed.
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘TextMeshPro/Mobile/Distance Field’ failed.
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘TextMeshPro/Mobile/Distance Field’ failed.
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘TextMeshPro/Mobile/Distance Field’ failed.
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘TextMeshPro/Mobile/Distance Field’ failed.
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘TextMeshPro/Mobile/Distance Field’ failed.
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘TextMeshPro/Mobile/Distance Field’ failed.
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘TextMeshPro/Mobile/Distance Field’ failed.
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘TextMeshPro/Mobile/Distance Field’ failed.
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘TextMeshPro/Mobile/Distance Field’ failed.
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘TextMeshPro/Mobile/Distance Field’ failed.
2021_ASM.asm.framework.js:2 ERROR: 0:8: ‘highp’ : precision is not supported in fragment shader
2021_ASM.asm.framework.js:2 Note: Creation of internal variant of shader ‘TextMeshPro/Mobile/Distance Field’ failed.