The following glitch happens after 15-20 minutes of gameplay, (sometimes less). The app continues to run in the background with working sound and logging output seems normal (no errors/exceptions are thrown).
Tried changing iOS Player Settings to no effect (Metal API Validation, Metal Write-Only Backbuffer, Memoryless Depth Modes, GPU Compute Skinning)
Has anyone found a similar glitch effect with these weird green/pink pixels and screen freezing?
Other things we looked into that also did not help:
- Clearing preloaded shaders
- Disabling SRP batcher
- Disabling depth/opaque texture in the URP settings
- Disabling all render features in the Universal Renderer Data
- Changed depth priming mode/depth texture modes/intermediate texture
- Changing Managed Stripping Level
I also tried a plugin which allows me to see the hierarchy at runtime and see what’s going on. Toggling the camera on/off does not help at all. It does not make the screen go black and permanently like this until the app is closed.
Unity 2022.3.17f1. Also tested on Unity 2022.3.10f1
Universal RP: 14.0.9
Platform: iOS [Metal]
We do get Xcode errors when this happens:
Game[1227:140807] Execution of the command buffer was aborted due to an error during execution. Discarded (victim of GPU error/recovery) (IOAF code 5)
Video: Warning flashing lights not suitable for people who may have photosensitive seizures!