Search Issue Tracker
Fixed
Fixed in 2021.3.25f1, 2023.2.0a14
Votes
5
Found in
2021.3.23f1
2023.2.0a8
2023.2.0a10
Issue ID
UUM-33051
Regression
Yes
"NullReferenceException" errors thrown in the Console window when Unity Version Control package is present in the project
How to reproduce:
1. Create a new Unity project
2. Observe the Console window
Expected results: No errors in the Console window
Actual results: "NullReferenceException: Object reference not set to an instance of an object" error thrown in the Console window
Reproducible with: 2.0.3 (2021.3.23f1), (2023.2.0a8), (2023.2.0a10), (2022.2.16f1)
Not reproducible with: 2.0.3 (2020.3.47f1), (2021.3.22f1), (2022.2.15f1), 2.0.3 (2023.1.0b12), 2.0.1 (2023.2.0a7)
Reproduced on: Windows 10, Windows 11
Notes:
- Issue is reproducible when creating a new project (or any other Template)
- Issue is also reproducible when entering the Play Mode
- The error is clearable, but can pop up any time while working in the Editor
Error:
{code:java}
NullReferenceException: Object reference not set to an instance of an object
Unity.PlasticSCM.Editor.ProjectDownloader.ParseArguments.GetOrganizationNameFromData (System.String data) (at Library/PackageCache/com.unity.collab-proxy@2.0.3/Editor/PlasticSCM/CloudProjectDownloader/ParseArguments.cs:42)
Unity.PlasticSCM.Editor.ProjectDownloader.ParseArguments.CloudOrganization (System.Collections.Generic.Dictionary`2[TKey,TValue] args) (at Library/PackageCache/com.unity.collab-proxy@2.0.3/Editor/PlasticSCM/CloudProjectDownloader/ParseArguments.cs:24)
Unity.PlasticSCM.Editor.ProjectDownloader.CloudProjectDownloader.DownloadRepository (System.String unityAccessToken, System.String[] commandLineArgs) (at Library/PackageCache/com.unity.collab-proxy@2.0.3/Editor/PlasticSCM/CloudProjectDownloader/CloudProjectDownloader.cs:63)
Unity.PlasticSCM.Editor.ProjectDownloader.CloudProjectDownloader.DownloadRepository (System.String unityAccessToken) (at Library/PackageCache/com.unity.collab-proxy@2.0.3/Editor/PlasticSCM/CloudProjectDownloader/CloudProjectDownloader.cs:51)
Unity.PlasticSCM.Editor.ProjectDownloader.CloudProjectDownloader.Execute (System.String unityAccessToken) (at Library/PackageCache/com.unity.collab-proxy@2.0.3/Editor/PlasticSCM/CloudProjectDownloader/CloudProjectDownloader.cs:43)
Unity.PlasticSCM.Editor.ProjectDownloader.CloudProjectDownloader.RunOnceWhenAccessTokenIsInitialized () (at Library/PackageCache/com.unity.collab-proxy@2.0.3/Editor/PlasticSCM/CloudProjectDownloader/CloudProjectDownloader.cs:32)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <9959c9185b684a4d9d56448296fb9048>:0)
{code}
Comments (3)
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- 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
CeleDko
May 03, 2023 11:59
I get the same error on 2021.3.24f1
cmcgregor
Apr 30, 2023 11:25
Also happening on 2022.2.17
stalolympus
Apr 15, 2023 22:26
I get the same error on 2021.3.23f1