Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Visual glitches in editor when using URP

Discussion in 'Editor & General Support' started by xrm0, Sep 25, 2022.

  1. xrm0

    xrm0

    Joined:
    Feb 26, 2013
    Posts:
    85
    I've been using Unity in Ubuntu for some time (using the builtin pipeline) and everything works fine.
    Yesterday created a new project with URP and this is how the editor looks (it's an empty project created using the template provided by unity hub):



    And when the mouse moves over the editor Scene window these glitches change visually.

    If looks good when:
    - run from the editor
    - build the project and run the binary

    Any ideas on why is this happening?
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,245
    Does switching graphics API between vulkan and openGL Core fix it?

    This clearly isn't supposed to be happening. I suggest making a video of it and then make a big report in the project with the video added as a file. Also testing on other unity versions might be helpful
     
  3. xrm0

    xrm0

    Joined:
    Feb 26, 2013
    Posts:
    85
    I've tried with Vulkan, but (as far as I know) that's a project setting, not for the editor.
    Is there a way to make the editor use vulkan?
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,245
    The current desktop API will restart Unity and launch it with that API. You can see it in the top (your screenshot has opengl 4.5).
     
  5. xrm0

    xrm0

    Joined:
    Feb 26, 2013
    Posts:
    85
    The editor didn't restart and after closing the project and reopening it still says OpenGL and I've checked Vulkan appears first on the Graphics API option.
     
  6. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,245
    Then I'm out of ideas. Maybe file a bug report if you haven't already
     
  7. unity_1233337D8EA5762EDB97

    unity_1233337D8EA5762EDB97

    Joined:
    Aug 29, 2022
    Posts:
    1
    I found the same problem today (switching to Vulkan made my project crash). Did you find a solution?
     
  8. xrm0

    xrm0

    Joined:
    Feb 26, 2013
    Posts:
    85
    Didn't found any solutions, I'm using the builtin render pipeline now