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

FPS Foreground working in game view, but not in build #55

Open
jkubala opened this issue Dec 28, 2023 · 1 comment
Open

FPS Foreground working in game view, but not in build #55

jkubala opened this issue Dec 28, 2023 · 1 comment

Comments

@jkubala
Copy link

jkubala commented Dec 28, 2023

Hello, title says it all. For some reason when the project is built (on Windows in this case), the screen when starting is blank. The only way to revert it I found so far is to just straight up remove the custom pass gameObject.

@alelievr
Copy link
Owner

Hey, differences in a build are often due to the shaders used in the custom pass being removed at build time because it's only referenced in a script with Shader.Find(). You can try to include the shader ForegroundDepthClear in the list of always included shaders in the Graphics settings to see if it fixes the issue.

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

2 participants