Search Issue Tracker
Fixed
Votes
0
Found in [Package]
1.0.13
Issue ID
BEHAVB-388
Regression
No
Null blackboard variable in runtime blackboard causes nullref exception on playmode exit
Steps to reproduce:
- Install behavior package (com.unity.behavior)
- Import the Unity Behavior Example sample
- Select the Example Behavior Graph Blackboard asset and manually add a new element to the {{Variables}} list in the inspector.
- Open the SampleScene and Enter Playmode
- Exit Playmode
\\
Actual results:
{code}
NullReferenceException: Object reference not set to an instance of an object.
Unity.Behavior.Blackboard.CreateMetadata ()
Unity.Behavior.Blackboard.SetVariableValue[TValue] (Unity.Behavior.GraphFramework.SerializableGUID guid, TValue value) Unity.Behavior.RuntimeBlackboardAsset.RestoreAuthoringValue ()
Unity.Behavior.RuntimeBlackboardAsset.InternalPlaymodeStateChanged (UnityEditor.PlayModeStateChange change)
UnityEditor.EditorApplication.Internal_PlayModeStateChanged (UnityEditor.PlayModeStateChange state)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
{code}
Expected results:
- No error thrown
\\
Reproducible with versions:
1.0.13
Not reproducible with versions:
1.0.12 and below
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment