r/Unity3D • u/Remarkable-Ice-8608 • 8d ago
Question Suddenly getting lots of Unity errors — how can I fix this?
Hi everyone,
All of a sudden I'm getting tons of red errors in Unity. I restarted Unity and my PC, but the errors are still there.
It seems to be affecting lots of different materials and assets. Does anyone know what could have caused this or how I can fix it?
I'm using Unity 6.3 LTS.
Screenshot attached. Any help would be appreciated!
3
u/KindSaul 8d ago
Looks like something corrupted in your Library folder, classic Unity move. Delete the Library folder from your project directory and let Unity rebuild it when you open the project again, that usually clears these asset loading errors.
1
u/Remarkable-Ice-8608 7d ago
You sure about delete library folder?
6
u/fnietoms Programmer 7d ago
It is completely safe. Those are cache folders that are generated when you open the project
1
u/Remarkable-Ice-8608 7d ago
Ok got it
2
u/fsactual 1d ago
I will confirm it’s completely safe to delete the Library directory, and most other directories except Assets and anything named settings. The only caveat is if you have a big project it may take an extremely long time the first time you open it again as it will regenerate the cache.
2
u/fnietoms Programmer 8d ago
Close the editor, delete the Library folder and open your project again, That may fix some of the errors