Search Issue Tracker
By Design
Votes
1
Found in
2021.3.50f1
2022.3.60f1
6000.0.45f1
6000.1.0b13
6000.2.0a8
Issue ID
UUM-101790
Regression
No
Editor crashes with "GetManagerFromContext: pointer to object of manager 'PlayerSettings' is NULL (table index 0)" error when launching a project with a corrupted library
Steps to reproduce:
1. Open the “user’s attached project”
2. Observe the "{{GetManagerFromContext: pointer to object of manager 'PlayerSettings' is NULL (table index 0)}}" error and the Editor crash
Reproducible with versions: 2021.3.50f1, 2022.1.0a1, 2022.3.60f1, 6000.0.45f1, 6000.1.0b13, 6000.2.0a8
Reproducible on: macOS 15.1.1 (M1 Max), Windows 11 (by user)
Not reproducible on: no other environment tested
First few lines of StackTrace:
{noformat}0x00007FFB72C6AB6A (KERNELBASE) RaiseException
0x00007FF755C2B5AE (Unity) LaunchBugReporter
0x00007FF7555E91FB (Unity) EditorMonoConsole::LogToConsoleImplementation
0x00007FF7555E9ADD (Unity) EditorMonoConsole::LogToConsoleImplementation
0x00007FF7562AD47F (Unity) DebugStringToFilePostprocessedStacktrace{noformat}
Note: Editor still crashes after rebuilding the corrupted library when it is detected, or deleting the Library folder manually and opening the Editor
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
The error happens because the QualitySettings.asset file (inside the ProjectSettings/ folder) has been renamed to be "ProjectSettings.asset".
The ProjectSettings.asset asset should contain a "PlayerSettings" object and not a "QualitySettings" object. As such, when the system tries to load up the file, it fails.
Deleting the "ProjectSettings/ProjectSettings.asset" file will force Unity to create a new one. Alternatively, copying an existing one from another project (assuming it doesn't have the same issue) should also fix the particular issue.