Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X, 6000.1.X
Votes
0
Found in
2021.3.45f1
2022.3.51f1
6000.0.25f1
6000.1.0a2
Issue ID
UUM-85782
Regression
No
Debug.DrawLine depthTest parameter starts flickering during OnSceneGUI() when SceneView.RepaintAll() is used
Reproduction steps:
1. Open the attached “UnityBugReport.zip” project
2, Open the “SampleScene” Scene
3. Open the “DebugDrawLineDepthTest.cs” script from the Project Window
4. Comment out or delete the “SceneView.RepaintAll();” line and Save the script
5. Select the “DebugDrawLineDepthTest” GameObject from the Hierarchy
6. Move the mouse cursor from the Scene view to the Hierarchy Window
7. Observe the red line during 6th step in the Scene view
Expected result: The line does not flicker
Actual result: The line flickers
Reproducible with: 2021.3.45f1, 2022.3.51f1, 6000.0.25f1, 6000.1.0a2
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Note:
- In the “DebugDrawLineDepthTest.cs” script uncommenting the{{SceneView.RepaintAll();}} line, stops the flickering, but makes the depthTest parameter not work at all
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Device Simulator] The non-zero touch states do not reset and are set to the "Began" state with "InProgress" being true when releasing the left-click
- Debug.DrawLine depthTest parameter starts flickering during OnSceneGUI() when SceneView.RepaintAll() is used
- [RenderGraphViewer]No help button that could lead to the documentation page
- Building "ManagedStripping" fails when a script uses a custom package
- [Quest] Visual artifacts are present when rendering Spot lights with Forward+ Rendering Path in XR
Add comment