Error compiling shaders when building for android
Faalvare opened this issue · 2 comments
Faalvare commented
giving me this error on cesium 1.9.0 for unity 2021.3.10f1 using URP :
Shader error in 'Cesium/CesiumDefaultTilesetShader': maximum ps_5_0 sampler register index (16) exceeded at line 6450 (on gles3)
also this warning from the same shader:
Shader warning in 'Cesium/CesiumDefaultTilesetShader': implicit truncation of vector type at Files/Unity/Hub/Editor/2021.3.10f1/Editor/Data/CGIncludes/UnityShadowLibrary.cginc(60) (on gles3)
j9liu commented
Hi @Faalvare,
What graphics API are you using to build? Does it make a difference if you switch to a different one? (e.g. Vulkan vs. OpenGL)
reefbreak commented
Same issue