Unity Issue Tracker - Crash on LocalKeywordState::BuildIncompatibleKeywordSpaceMessage when deleting the PackageCache folder while the project is open
Closed
UUM-103040
Crash on LocalKeywordState::BuildIncompatibleKeywordSpaceMessage when deleting the PackageCache folder while the project is open
Unity: Packman
Won't Fix
6.2.X
6.1.X
6000.1.0a2 onwards
6.0.X
6000.0.26f1 onwards
- Don't delete Library or PackageCache while the Unity Editor is open. Always close Unity first.
- Don't use this as a routine clean-up method unless you have a specific reason — Unity's cache system is meant to optimize things.
Steps to reproduce:
1. Open the “user’s attached project”
2. Delete the “Library/PackageCache” folder
3. Go back to the Editor
4. Observe the crash
Reproducible with versions: 6000.0.26f1, 6000.0.47f1, 6000.1.0b15, 6000.2.0a9
Not reproducible with versions: 2021.3.51f1, 2022.3.61f1, 6000.0.25f1
Reproducible on: macOS 15.3.2 (M1 Max), Windows 11 (by the user)
Not reproducible on: no other environment tested
Note: not reproducible on a freshly created project