cesium-unity icon indicating copy to clipboard operation
cesium-unity copied to clipboard

Error compiling shaders when building for android

Open Faalvare opened this issue 10 months ago • 2 comments

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)

Faalvare avatar Apr 17 '24 03:04 Faalvare

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)

j9liu avatar May 10 '24 18:05 j9liu

Same issue

reefbreak avatar May 29 '24 17:05 reefbreak