I’m having an issue setting up the Universal Render Pipeline. I’m having an issue where, in scene view, I get weird ghost images / tearing when ever I zoom out or move any images in the scene view, as if the image is not being refreshed.
I’m pretty stuck here. Any help is appreciated. I’d really love to add 2D lights to my game. I have had other issues to do with the UDR pipeline and lighting, which you can see I’ve posted here: Help with 2D lighting and tilemaps - UDR not working as expected
It’s worth noting, I made a brand new project in 2019.4.4 LTS, put a sprite in the scene, repeated the same steps, and had no issue, so it does appear to be something in my existing projects specifically. I have 2 projects that are having this issue, both upgraded from older versions of Unity to 2019 for the nested prefabs update.
For me, when I open the scene, if I zoom in and out (with the lighting off because with lighting on everything is black), I see this tearing in the scene view. It seems to be completely unrelated to camera settings or any other object in the scene. Opening and closing the project makes no difference. I feel like it could be a graphics / rendering setting somewhere but I’m not sure what. It only starts after I added the URP with the steps listed above in my original post.
However, if I swap between game view and scene view, the image refreshes and the tearing goes, or if I turn the lighting on and off. That is, until I zoom in and out or move the scene view around again, causing these ghost images of the sprite. It feels like it’s a render buffer not being cleared or something (I’m not super up with rendering, it’s just a thing I vaguely remember from college).
Hm I don’t know a heap about the camera, I can’t see anything called a Clear Flag. However, this is happening in the scene view, so I don’t think its related directly to the camera (although maybe I need to change camera settings also).
Even if I delete the camera and have no camera in the scene, the tearing occurs, so unfortunately I don’t think it’s a camera issue.
There it’s called the background type and you have it set Skybox not Uninitialized so that isn’t it. It might be useful to change it to a solid color to see if that is rendered.
Thanks for your response. Yes that’s right, this only started happening when I added URP to my project as per the instructions in the video tutorial I posted right at the top. Everything was fine before adding URP, but I was hoping to use it for 2D lighting.
That’s odd about the skybox, thought I had that set to solid colour. I just changed it to solid colour but yeah, even when I delete the camera, it’s still happening, so I don’t think the issue is quite the camera. I’ve just made another video to demonstrate the difference between what’s happening in the scene view, and the game view.
Game view on the camera is fine. It’s just in scene view, making it very hard to do any kind of level editing, because any graphic that moves across the scene in scene view will that ghost image trail.
Unfortunately no, no progress. It’s totally weird. I was hoping someone from Unity might have an idea.
I not believe it has anything to do with camera settings, because I do not see this issue in the game window. I only see it in the scene view, which is independent of the camera. Regardless, these are my camera settings:
I suspect it has something to do with project lighting and rendering settings somewhere but I wouldn’t know which ones. Here’s my lighting settings:
Graphics (mind you, I’ve reverted back from URP so that is not currently set in the render pipeline)
And in the player settings, under ‘Other Settings’:
I believe it could be something to do with one of those settings or something else I’m not aware of not acting or being set up correctly when I implement URP.
When I create a new project in Unity 2019 LTS with URP, this doesn’t happen, so I think the issue has arisen from me upgrading a project that was initially built in an older (I forget which) version of Unity, and it’s one of those issues that happens when you upgrade a project.
None at all. I was hoping someone from Unity might have a solution but heard nothing. My screen capture seems to have disappeared. If you can record it happening it might help diagnose it. I can’t because I’ve removed URP from my project for now and ended up using the default pipeline for my 2D lighting.