Search Issue Tracker

Fixed

Fixed in 2022.3.59f1, 6000.0.4f1, 6000.1.0b8, 6000.2.0a5

Votes

0

Found in

2022.3.56f1

6000.0.34f1

6000.1.0b2

6000.2.0a1

Issue ID

UUM-92863

Regression

No

PlasticSCM NullReferenceException on entering the Play Mode when Unity Version Control tab is added to the layout

-

How to reproduce:
1. Open the attached project "Reproduction"
2. Open the "Assets -> Scenes -> EnemiesShowcase" scene
3. Make sure the Unity Version Control tab is opened
4. Enter the Play Mode
5. Observe the Console

Expected results: No errors are thrown 
Actual results: NullReferenceException is thrown

Reproducible with: 2022.3.56f1, 6000.0.34f1, 6000.1.0b2

Reproducible on: macOS Sequoia 15.1 (M1)
Not reproducible on: No other environment tested

Notes:
- Unity Version Control window doesn't need to be focused or active to throw errors
- After reopening the project or Version Control window, errors usually appear after the second time entering the Play Mode
- After errors are thrown on entering the Play Mode, the same error is thrown when closing the Unity Version Control window

Full error:
NullReferenceException: Object reference not set to an instance of an object
Unity.PlasticSCM.Editor.ViewSwitcher.OnDisable () (at ./Library/PackageCache/com.unity.collab-proxy@2.6.0/Editor/ViewSwitcher.cs:205)
Unity.PlasticSCM.Editor.PlasticWindow.ClosePlastic (Unity.PlasticSCM.Editor.PlasticWindow window) (at ./Library/PackageCache/com.unity.collab-proxy@2.6.0/Editor/PlasticWindow.cs:1096)
Unity.PlasticSCM.Editor.PlasticWindow.OnDisable () (at ./Library/PackageCache/com.unity.collab-proxy@2.6.0/Editor/PlasticWindow.cs:283)

  1. Resolution Note (fix version 6000.2.0a5):

    It is already fixed in https://jira.unity3d.com/browse/VCS-1006586
    The fix is included in the latest version of the package v 2.7.1

    It was landed for the different Editor versions: 6000.2.0a5, 6000.1.0b8, 6000.0.40f1 LTS, 2022.3.59f1 LTS, 2021.3.50f1 xLTS.

  2. Resolution Note (fix version 6000.1.0b8):

    It is already fixed in https://jira.unity3d.com/browse/VCS-1006586
    The fix is included in the latest version of the package v 2.7.1

    It was landed for the different Editor versions: 6000.2.0a5, 6000.1.0b8, 6000.0.40f1 LTS, 2022.3.59f1 LTS, 2021.3.50f1 xLTS.

  3. Resolution Note (fix version 6000.0.4f1):

    It is already fixed in https://jira.unity3d.com/browse/VCS-1006586
    The fix is included in the latest version of the package v 2.7.1

    It was landed for the different Editor versions: 6000.2.0a5, 6000.1.0b8, 6000.0.40f1 LTS, 2022.3.59f1 LTS, 2021.3.50f1 xLTS.

  4. Resolution Note (fix version 2022.3.59f1):

    It is already fixed in https://jira.unity3d.com/browse/VCS-1006586
    The fix is included in the latest version of the package v 2.7.1

    It was landed for the different Editor versions: 6000.2.0a5, 6000.1.0b8, 6000.0.40f1 LTS, 2022.3.59f1 LTS, 2021.3.50f1 xLTS.

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.