Some of our mac users report black/blank screen on Mac devices.
The main menu scene loads and music can be heard from the background - but screen doesn’t show anything.
I’m unable to reproduce the issue myself unfortunately.
This seems to be pretty rare bug - and only on Mac. On windows and linux this doesn’t happen at all as far as I know.
Using HDRP
I’ve tried:
with Unity 2023.2.20f1 and 6000.0.22f1
intel-only builds, and also intel+apple silicon builds
building without main menu in case it’s UI not rendering
forcing resolution to 1000x1000 windowed in script when loading
changed scripting backend from ic2pp to mono
several changes to graphics API settings (I don’t remember which ones, feel free to suggest more)
Ah too bad, thank you for trying. StopNaNs was already enabled in our camera. I will try a barebones build without post processing & volumetric fog next.
We got report that the game started working, when I made a build with post processing and volumetric fog disabled. StopNaNs was already enabled in our camera.
So indeed, your guess was correct.
Questions:
Is there a way to detect if this happens? We could then disable post processing automatically
Is there a specific post processing effect more prone to causing this
Is there a way to gather more specific information / logs about what is causing this? Player.log files don’t seem to have anything relevant
PS. I don’t know if the forums is correct place for this kind of technical support, we have Unity Pro and we recently bought Unity Starter Success plan, but I haven’t heard back yet.
I’m not sure, maybe if it happens on a particular OS version + HW combination you could detect it but I don’t think you can detect that the effect works.
Depth of Field is also unlikely, unless all of your pixels are out of focus, the algorithm doesn’t run on pixels that are in focus so we’d see a part of the image. Same for the Motion Blur.
It could be bloom but that would surprise me with the Stop NaN enabled.
Do you have any custom post-processing enabled?
I don’t think you’ll be able to get valuable info unless the metal validation layer is enabled.
That’s something you could try: enable the metal validation layer (Shader Validation) to see if it detects any illegal states or warnings from the editor:
Unity 6000.0.25f
I have the same problem, black screen on some Androids. No UI.
There is also a situation where some of my players will have very dark graphics and UI once they enable post-processing.
It was normal in previous versions.