Search Issue Tracker

Fixed

Fixed in 6000.0.3f1

Votes

0

Found in

2023.3.0b5

Issue ID

UUM-62201

Regression

Yes

[URP] Gizmo of the collider is drawn at the wrong position when using the “OnGUI" function and having the Universal RP package

--

-

How to reproduce:
1. Open the user’s attached “URP Test.zip” project
2. Open “SampleScene” Scene (Assets > Scenes)
3. Select “Select Me and toggle DoOnGUI” GameObject
4. In the Inspector window, enable the “Do On GUI” Component
5. Observe the Game window

Expected result: Gizmo of Box Collider is visible on the cube GameObject
Actual result: Gizmo of Box Collider disappears, and a few pixels of it are at the top left corner of the Game window

Reproducible with: 2023.3.0a8, 2023.3.0b5
Not reproducible with: 2021.3.34f1, 2022.3.19f1, 2023.2.8f1, 2023.3.0a7

Reproduced on: macOS 14.2.1 (Intel)
Not reproducible on: No other environment tested

Note: not reproducible without Universal RP package

  1. Resolution Note (fix version 6000.0.3f1):

    Set up correct transformation matrices before rendering Gizmo and restore them once done. Thanks for detecting this issue and reporting it to us!

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.