I have encountered an issue where my game’s scene appears completely black when built for Android, even though the UI elements are present. In the Unity Editor, everything renders correctly. Notably, my scene does not contain any 3D objects or lights, only UI elements. Previously, I was able to build for Android without any problems, even without adding a camera to the scene. However, now the entire screen is black on Android devices.
Steps Taken:
Verified that the UI elements are correctly set up and active in the scene.
Checked Player Settings to ensure that Graphics API and other relevant settings are properly configured.
Attempted to add a camera to the scene and adjust its settings, but the issue persists.
Verified that the Canvas settings are correct and that the Render Mode is set to “Screen Space - Overlay.”
Questions:
What could be causing the scene to render as completely black on Android when there are no 3D elements or lights, only UI?
Are there any additional settings or configurations that I should check to resolve this issue?
Could this be related to changes in Unity’s handling of UI rendering in recent versions?
Well, I built it for Windows and everything worked fine What is the problem that everything is black in Android?
Thank you for your assistance!