-
-
Notifications
You must be signed in to change notification settings - Fork 21.8k
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
SceneShaderGLES2: Program linking failed #50225
Comments
@madmiraal Can you reproduce this in 3.3.2? |
No. It's fine in 3.3.2. |
Likely a bug caused by #48011, CC @BastiaanOlij. |
I think the problem is caused by having this in the vertex shader (
And this in the fragment shader:
This means that the default precision in the vertex shader is As The easy fix is to change it to |
@BastiaanOlij The ifdef block is intended, highp on shaders on mobile is too much, so unless needed mediump needs to remain default. What most likely happened is that an uniform or a varying did not have the right precision specified on both fragment and vertex. |
Thanks for clarifying that, I'll add some remarks in there for the next person who scratched their head :) And indeed, the issue is most likely the missing permission on the |
Fixed by #50237. |
Godot version
3.4.beta 009aa63
System information
Android emulator Pixel 5.0 1080x1920 420dpi running Android 11.0 x86
Issue description
Running an Android project generates the following errors:
Steps to reproduce
Run an Android project and view the logcat errors.
Minimal reproduction project
Any project will do, but here is a simple one:
HelloAndroid.zip
The text was updated successfully, but these errors were encountered: