Search Issue Tracker
Active
Votes
7
Found in
2022.3.55f1
6000.0.32f1
6000.1.0a9
6000.2.0a1
Issue ID
UUM-91211
Regression
No
Console displays "NullReferenceException: Object reference not set to an instance of an object." during Editor Theme change
*Steps to reproduce:*
# Create a new 2D Unity Project
# Go to the "Unity Version Control" window
# Click "Need Unity VCS Enterprise?"
# Verify that the"Welcome to Unity VCS" modal becomes visible
# Leave it is opened
# Go to Unity -> Settings
# In the "General" section find "Editor Theme"
# Change it several times
# Observe the Console
*Actual results:* Video is added in the "Attachments" section. It displays an error:
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)
*Expected results:* No errors
*Reproducible with versions:* 2022.3.55f1, 6000.0.32f1, 6000.1.0a9
*Not reproducible with versions:* -
*Can’t test with versions:* -
*Tested on (OS):* Apple M1 Max, Sequoia 15.1.1
Comments (4)
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
- Undoing Animator Parameter name change breaks references to it
- Crash on BV4_OverlapBoxAll when moving in play mode
- Custom mesh water surface normal map fades out when Y Position increases
- Sprite renderer does not issue draw calls correctly when using SRP Batcher
- [Android] Flickering artifacts when using "ScriptableRenderer.EnqueuePass(RenderPassEvent.BeforeRenderingPostProcessing)" multiple times
Vince_DD
Jan 20, 2025 08:24
Got the same in 2022.3.55f1. Fixed by removing "Version Control" from the project in the Package Manager. I don't use Unity VC but I guess it auto-installs for new projects.
MianX
Jan 19, 2025 13:39
Resolved :D
Add a null check before line 205.
if (mWorkspaceOperationsMonitor != null)
MianX
Jan 19, 2025 13:23
has anyone found a solution?
Yodzilla
Dec 31, 2024 22:28
Getting this constantly in editor version 6000.0.23f1. Doesn't matter the project and I'm not even using Plastic SCM.