Search Issue Tracker
Fixed in 2.4.0-preview.6
Votes
0
Found in [Package]
2.3.4
Issue ID
1193311
Regression
No
[Cinemachine] ArgumentNullException error is thrown on selecting CinemachineBlendListCamera preset asset
ArgumentNullException error is thrown on selecting CinemachineBlendListCamera preset asset after deleting BlendList Camera in Hierarchy.
Steps to repro:
1. Create a new project.
2. Windows > Package Manager > Install Cinemachine package 2.3.4.
3. Cinemachine > Create BlendList Camera.
4. Create CinemachineBlendListCamera preset asset.
5. Delete BlendList Camera in Hierarchy.
6. Select CinemachineBlendListCamera preset asset.
Actual Result:
ArgumentException error is thrown in the console.
Expected Result:
No error in the console.
Reproducible in Package Version: 2.3.4, 2.3.3.
Reproducible on:
2020.1.0a10, 2019.3.0b8, 2019.2.0f1.
Environment:
Windows 10 & Mac 10.14.
Stack trace:
ArgumentNullException: Value cannot be null.
Parameter name: key
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].set_Item (TKey key, TValue value) (at <437ba245d8404784b9fbab9b439ac908>:0)
Cinemachine.Editor.CinemachineBlendListCameraEditor.UpdateCameraCandidates () (at Library/PackageCache/com.unity.cinemachine@2.3.3/Editor/Editors/CinemachineBlendListCameraEditor.cs:76)
Cinemachine.Editor.CinemachineBlendListCameraEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.cinemachine@2.3.3/Editor/Editors/CinemachineBlendListCameraEditor.cs:48)
UnityEditor.Presets.PresetEditor.DrawInternalInspector () (at <9f61046f43c743d99486c2fccce7b774>:0)
UnityEditor.Presets.PresetEditor.DrawPresetData () (at <9f61046f43c743d99486c2fccce7b774>:0)
UnityEditor.Presets.PresetEditor.OnInspectorGUI () (at <9f61046f43c743d99486c2fccce7b774>:0)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass54_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <9f61046f43c743d99486c2fccce7b774>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment