Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling shaders when building for android #454

Open
Faalvare opened this issue Apr 17, 2024 · 2 comments
Open

Error compiling shaders when building for android #454

Faalvare opened this issue Apr 17, 2024 · 2 comments

Comments

@Faalvare
Copy link

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
Copy link
Contributor

j9liu commented May 10, 2024

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
Copy link

Same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants