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

Godot's exported Android project 3D rendering bug on devices other than Qualcomm processors. #88397

Closed
dsyze opened this issue Feb 16, 2024 · 2 comments

Comments

@dsyze
Copy link

dsyze commented Feb 16, 2024

Tested versions

godot4.2.1

System information

Windows11 - godot4.2.1 - gles

Issue description

After releasing my project, users reported that apart from the first time it opened with normal 3D rendering, subsequent openings resulted in crashes during 3D rendering. Upon investigation, I found that the issue mainly affected users with MediaTek Dimensity and Huawei Kirin processors. Through my research, I discovered that the problem was caused by enabling shader caching in Godot. Disabling shader caching resolved the issue. I suspect that the Godot development team may have only used Qualcomm processors for Android adaptation, leading to this problem.

Steps to reproduce

After releasing my project, users reported that apart from the first time it opened with normal 3D rendering, subsequent openings resulted in crashes during 3D rendering. Upon investigation, I found that the issue mainly affected users with MediaTek Dimensity and Huawei Kirin processors. Through my research, I discovered that the problem was caused by enabling shader caching in Godot. Disabling shader caching resolved the issue. I suspect that the Godot development team may have only used Qualcomm processors for Android adaptation, leading to this problem.

Minimal reproduction project (MRP)

After releasing my project, users reported that apart from the first time it opened with normal 3D rendering, subsequent openings resulted in crashes during 3D rendering. Upon investigation, I found that the issue mainly affected users with MediaTek Dimensity and Huawei Kirin processors. Through my research, I discovered that the problem was caused by enabling shader caching in Godot. Disabling shader caching resolved the issue. I suspect that the Godot development team may have only used Qualcomm processors for Android adaptation, leading to this problem.

@AThousandShips
Copy link
Member

Please fill in the form properly instead of copying the same text three times

@Calinou
Copy link
Member

Calinou commented Feb 16, 2024

Thanks for the report! Consolidating in #82419, as this is due to the same cause.

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

No branches or pull requests

3 participants