Search Issue Tracker
Fixed
Fixed in 6000.0.20f1, 7000.0.0a1
Votes
0
Found in
6000.0.7f1
Issue ID
UUM-74382
Regression
Yes
The camera's Gizmos frustum does not display correctly when there is a script containing the OnGUI method
Reproduction steps:
1. Open the attached “ReproProj” project
2. Open the “Assets/Scenes/SampleScene” scene
3. Open the Game view and enable Gizmos
4. Select the “Main Camera” GameObject to open its' Inspector window
5. Enable the “Testy” Script component
6. Observe the Game view
Expected Result: The Gizmos frustum is shown around the edges of the Game view
Actual Result: Only the corner of the Gizmos frustum is seen
Reproducible with: 2023.3.0a8, 6000.0.7f1
Not reproducible with: 2021.3.39f1, 2022.3.34f1, 2023.3.0a7
Reproducible on: Windows 11 Pro
Not reproducible on: No other environments tested
Notes:
- Not reproducible without the URP package
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 (fix version 6000.0.20f1):
Fixed camera gizmos frustum that was not rendered correctly in the presence of a monobehaviour containing an OnGUI method.