Search Issue Tracker
By Design
Votes
0
Found in
2022.3.10f1
2023.1.13f1
2023.2.0b8
2023.3.0a4
Issue ID
UUM-49478
Regression
Yes
Using OnPostRender with OnRenderImage renders a black screen in the Game View
How to reproduce:
1. Open the attached “IN-53931“ project
2. In the “File” → “Build Settings” make sure that the selected Platform is Android
3. Open the Game View and Observe
Expected result: The downscaled textures are visible (2nd image)
Actual result: The Game view is black (1st image)
Reproducible with: 14.0.3 (2022.2.0a16), 14.0.8 (2022.3.10f1), 15.0.6 (2023.1.13f1), 16.0.3 (2023.2.0b8), 17.0.0 (2023.3.0a4)
Not reproducible with: 12.1.12 (2021.3.30f1), 14.0.3 (2022.2.0a15)
Testing environment: macOS 13.4.1 (Intel)
Note: Couldn’t reproduce with Standalone Platform selected
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
In documentation of OnRenderImage it is explicitly mentioned, that SRPs do not support the callback. https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnRenderImage.html