Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URP 14.0.8 Issue with 'Enable Depth Testing' Property #74

Open
james-arndt opened this issue Sep 12, 2023 · 6 comments
Open

URP 14.0.8 Issue with 'Enable Depth Testing' Property #74

james-arndt opened this issue Sep 12, 2023 · 6 comments

Comments

@james-arndt
Copy link

There seems to be a bug with URP 14.0.8 and Unity 2022.3.6f1. When setting the Render Flag property to "Enable Depth Testing" on the Outline Settings asset, the render is corrupted and a warning message pops up in the console.

upload_2023-9-12_15-35-27

@efeurun
Copy link

efeurun commented Sep 16, 2023

Also experiencing the same problem with Unity 2022.3.8f1.

@Matrix64
Copy link

I found a way to fix this, and when I changed the input value "depthTexture" in line 77 of the OutlinePass.cs to "_renderer.cameraDepth", the feature worked fine again!and line 61 could also be commented out.
image
image

@efeurun
Copy link

efeurun commented Feb 27, 2024

@Matrix64 Thanks for the tip, unfortunately didn't work for me.

@Matrix64
Copy link

@efeurun You can try this project in Unity 2022.3.18f1, In order to compress the file size, I deleted the Library folder
OutlineTest.zip

@Matrix64
Copy link

If you are prompted to convert the code when running the project, select No
image

@sandeeen
Copy link

I found a way to fix this, and when I changed the input value "depthTexture" in line 77 of the OutlinePass.cs to "_renderer.cameraDepth", the feature worked fine again!and line 61 could also be commented out. image image

Hero! This worked on 2022.3.20f1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants