Search Issue Tracker
Duplicate
Votes
0
Found in
2021.3.47f1
2022.3.55f1
6000.1.0a9
Issue ID
UUM-91221
Regression
No
“NullReferenceException” error thrown when switching Editor Theme to Light if “Unity Version Control” tab is enabled
*Steps to reproduce:*
1. Create new Unity project
2. Press on “Unity Version Control” button (next to the Asset Store button)
3. “Unity Version Control” should open a new tab next to Console tab
4. Go to Settings > General
5. Switch Editor Theme from Dark to Light or vice versa
6. Observe the Console window
*Actual results:* No errors are thrown in the Console window when switching Editor Theme
*Expected results:* Error is thrown when switching Editor Theme:
{code:java}
NullReferenceException: Object reference not set to an instance of an object
Unity.PlasticSCM.Editor.ViewSwitcher.OnDisable () (at ./Library/PackageCache/com.unity.collab-proxy/Editor/ViewSwitcher.cs:205)
Unity.PlasticSCM.Editor.PlasticWindow.ClosePlastic (Unity.PlasticSCM.Editor.PlasticWindow window) (at ./Library/PackageCache/com.unity.collab-proxy/Editor/PlasticWindow.cs:1096)
Unity.PlasticSCM.Editor.PlasticWindow.OnDisable () (at ./Library/PackageCache/com.unity.collab-proxy/Editor/PlasticWindow.cs:283) {code}
*Reproducible with versions:* 2021.3.47f1 2022.3.55f1, 6000.1.0a9
*Tested on (OS):* macOS Sequoia 15.1.1 (Intel) and (M1)
*Notes:*
* Might need to switch themes multiple times from dark to light or vice versa for error to appear
-
Resolution Note:
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
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- "GetPreferedValue" returns max value when using auto-sizing
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
This is a duplicate of issue #UUM-91211