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

ShaderMaterial not working in CanvasItem and spamming infinite errors #62803

Closed
KoBeWi opened this issue Jul 7, 2022 · 3 comments
Closed

ShaderMaterial not working in CanvasItem and spamming infinite errors #62803

KoBeWi opened this issue Jul 7, 2022 · 3 comments

Comments

@KoBeWi
Copy link
Member

KoBeWi commented Jul 7, 2022

Godot version

09e12ba

System information

Windows 10 x64

Issue description

This happens when you assign new ShaderMaterial to a sprite:
godot windows tools 64_YvJGqUIxar
It becomes invisible and spams hundreds of errors per second.

The errors are similar as in #62525, but the issue is recent and doesn't seem related.

Steps to reproduce

  1. Add Sprite2D
  2. Add ShaderMaterial

Minimal reproduction project

No response

@akien-mga
Copy link
Member

Clear your .godot/shader_cache/ folder and that should solve it.

The problem is that we don't do proper cache invalidation when breaking rendering changes happen.

@KoBeWi
Copy link
Member Author

KoBeWi commented Jul 7, 2022

Removing shader cache indeed fixed the issue.

EDIT:
Worth to note that there are 2 shader cache folders - in .godot directory and in user directory. You need to delete them both.

@KoBeWi KoBeWi closed this as not planned Won't fix, can't repro, duplicate, stale Jul 7, 2022
@KoBeWi KoBeWi added the archived label Jul 7, 2022
@cridenour
Copy link
Contributor

Removing shader cache indeed fixed the issue.

EDIT: Worth to note that there are 2 shader cache folders - in .godot directory and in user directory. You need to delete them both.

Thank you! Not finding the user shader_cache was keeping me on alpha 10.

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

No branches or pull requests

3 participants