pastasfuture / com.hauntedpsx.render-pipelines.psx

A scriptable render pipeline for emulating Playstation-1-style graphics on contemporary hardware.
https://twitter.com/HauntedPs1/
MIT License
383 stars 26 forks source link

D3D11 swapchain error causing GPU timeout #14

Closed PixelDough closed 2 years ago

PixelDough commented 2 years ago

Occasionally, a project will get stuck in a rut where any new materials created and added to a material in scene (while the quality override volume is enabled) will cause the engine to crash with this error: image

After a lot of testing, we found that sometimes deleting the Library folder fixes the issue, but only temporarily, and any new materials created after that would bring the issue back.

I've seen several other users report this bug, all with very similar circumstances. image

It seems it might be related to Unity 2021.1, as another user I talked with who was encountering the issue was not able to fix it by downgrading their project, but upon creating an entirely fresh project in 2020.3, the issue didn't happen. The same thing happened to me in my testing. However, I have had the issue crop up in a project that has never even touched 2021.1, so it's hard for me to tell if the two issues are actually related or just result in the same crash.

thebeardphantom commented 2 years ago

I also have this bug. 100% repo in the scene view if I have PSX quality enabled on the scene view camera and I disable the Scene View Lighting Toggle or I disable lighting via the Volume Settings. So in my specific case it seems to be tied to having PSX quality enabled and lighting disabled.

This occurs for me in any version of 2021.1.

jasondibenedetto commented 2 years ago

I have also have been experiencing this on 2020.1, 2020.2, and 2020.3

pastasfuture commented 2 years ago

Finally was able to track down and fixed this. It landed in 1.6.0. Thanks for reporting (and sorry for the pain along the way)🖤