Search Issue Tracker

By Design



Found in





Issue ID




Wireframe mesh flickers when cursor is in Scene view



How to reproduce:
1. Open the user-attached “” project
2. Open the “SampleScene” Scene (Assets/Scenes folder)
3. Move the mouse over the Scene View or move around in the Scene

Expected result: The Wireframe mesh is not flickering in the Scene View
Actual result: The Wireframe mesh constantly flickers in the Scene View

Reproducible with: 2020.3.40f1, 2021.3.12f1, 2022.1.20f1, 2022.2.0b12, 2023.1.0a15

Reproduced on: macOS Monterey 12.0.1
Not reproducible on: Windows 10 Pro

- On 2022.1, 2022.2, and 2021.3 the Wireframe Mesh flickering is not as obvious (harder to see)
- RP packages are being used in the project, but they have no effect on reproduction

  1. Resolution Note:

    The issue here is z-fighting, and it occurs because multiple surfaces in the mesh are almost at the same position. As a result, which surface is considered the closest to the camera comes down to rounding errors, and can change with small camera changes, and be different for every pixel. As such, it is a content issue, not an engine bug.

    Here are some ways to address or minimize the issue:
    - Make sure back-faces are not rendered. To do so, it should be ensured that blackface culling is enabled in the shader. It should also be ensured that the faces are correctly set and exported as single-side in the modeling software
    - Adjust the near/far planes of the camera. Both increasing the near-plane distance, and decreasing the far plane distance can help with depth buffer precision. For the player, this can be done in the camera settings. For the editor scene view, this can be done in the scene view camera settings (see

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.