Search Issue Tracker

Won't Fix

Votes

0

Found in

6000.0.47f1

6000.1.0b15

6000.2.0a9

Issue ID

UUM-103040

Regression

Yes

Crash on LocalKeywordState::BuildIncompatibleKeywordSpaceMessage when deleting the PackageCache folder while the project is open

-

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

First few lines of StackTrace:

{noformat}0x00007FFF5DBF77CC (Unity) <lambda_cf997e6c181a5dc5524e18e1375c67d7>::operator()
0x00007FFF5DBF8A2B (Unity) keywords::LocalKeywordState::BuildIncompatibleKeywordSpaceMessage
0x00007FFF5DBFA12E (Unity) keywords::LocalKeywordState::ReportIncompatibleKeywordSpace
0x00007FFF5DBAA8D5 (Unity) Material::ResetKeywords
0x00007FFF5D96FB81 (Unity) MaterialScripting::SetEnabledKeywords{noformat}

  1. Resolution Note:

    - 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.