Search Issue Tracker
Fixed
Fixed in 3.0.0
Votes
0
Found in [Package]
3.0.0-pre.7
Issue ID
CMCL-1488
Regression
Yes
CinemachineStateDrivenCameraEditor Selection Nullreference Error with Animator Window
Reproduction Steps:
# Open the attached project
# Open Scene SampleScene
# Dock the Project panel next to the Inspector (only one should be visible at any given time, but both should be initialized and available)
# Select the State-Driven Camera while the Inspector is visible
# Switch to the Project window
# Create a new Animator Controller (RMB in Project view > Animator Controller)
# Open it and create a new animation state
# Click on various objects in the Hierarchy
Expected result: no errors
Actual result:
NullReferenceException: SerializedObject of SerializedProperty has been Disposed.
UnityEditor.SerializedProperty.get_intValue () (at /home/bokken/build/output/unity/unity/Editor/Mono/SerializedProperty.bindings.cs:1010)
Unity.Cinemachine.Editor.CinemachineStateDrivenCameraEditor+<>c__DisplayClass10_0.<CreateInspectorGUI>b__6 () (at ./Library/PackageCache/com.unity.cinemachine@3.0.0-pre.7/Editor/Editors/CinemachineStateDrivenCameraEditor.cs:63)
Unity.Cinemachine.Editor.InspectorUtility.<.cctor>g__OnUserDidSomething|1_0 () (at ./Library/PackageCache/com.unity.cinemachine@3.0.0-pre.7/Editor/Utility/InspectorUtility.cs:31)
UnityEditor.Selection.Internal_CallSelectionChanged () (at /home/bokken/build/output/unity/unity/Editor/Mono/Selection.cs:38)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on AudioMixer::GetFMODChannelGroup when entering Play Mode in a specific project
- Prefabs with "Flags" enum properties result in "IndexOutOfRangeException" when trying to commit/revert
- The Camera first person mode in Cameras overlay is greyed out and not clickable when the Editor is restarted with the Game View focused
- Scene View doesn't select the Canvas when it's clicked with the View Tool
- Transform fields are impossible to edit when Inspector window is resized
Add comment