I've been recieving this error. It was crashing on play originally, then I tried deleting tasks one by one to see what was causing it. Eventually it would only crash when I unplay whilst in the game tab (it doesnt crash when you stop playing wwith the game tab closed strangely..).
Any idea what I've done wrong?
ArgumentException: Type cannot be null.
BehaviorDesigner.Runtime.SharedVariable`1[T].InitializePropertyMapping (BehaviorDesigner.Runtime.BehaviorSource behaviorSource) (at <00cb1070d60241ceb207182662d41ddd>:0)
BinaryDeserialization.BytesToSharedVariable (BehaviorDesigner.Runtime.FieldSerializationData fieldSerializationData, System.Collections.Generic.Dictionary`2[TKey,TValue] fieldIndexMap, System.Byte[] bytes, System.Int32 dataPosition, BehaviorDesigner.Runtime.IVariableSource variableSource, System.Boolean fromField, System.Int32 hashPrefix) (at <00cb1070d60241ceb207182662d41ddd>:0)
BinaryDeserialization.LoadField (BehaviorDesigner.Runtime.FieldSerializationData fieldSerializationData, System.Collections.Generic.Dictionary`2[TKey,TValue] fieldIndexMap, System.Type fieldType, System.String fieldName, System.Int32 hashPrefix, BehaviorDesigner.Runtime.IVariableSource variableSource, System.Object obj, System.Reflection.FieldInfo fieldInfo) (at <00cb1070d60241ceb207182662d41ddd>:0)
BinaryDeserialization.LoadFields (BehaviorDesigner.Runtime.FieldSerializationData fieldSerializationData, System.Collections.Generic.Dictionary`2[TKey,TValue] fieldIndexMap, System.Object obj, System.Int32 hashPrefix, BehaviorDesigner.Runtime.IVariableSource variableSource) (at <00cb1070d60241ceb207182662d41ddd>:0)
BinaryDeserialization.LoadTask (BehaviorDesigner.Runtime.TaskSerializationData taskSerializationData, BehaviorDesigner.Runtime.FieldSerializationData fieldSerializationData, System.Collections.Generic.List`1[BehaviorDesigner.Runtime.Tasks.Task]& taskList, BehaviorDesigner.Runtime.BehaviorSource& behaviorSource) (at <00cb1070d60241ceb207182662d41ddd>:0)
BinaryDeserialization.Load (BehaviorDesigner.Runtime.TaskSerializationData taskData, BehaviorDesigner.Runtime.BehaviorSource behaviorSource) (at <00cb1070d60241ceb207182662d41ddd>:0)
BehaviorDesigner.Runtime.BehaviorSource.CheckForSerialization (System.Boolean force, BehaviorDesigner.Runtime.BehaviorSource behaviorSource) (at <00cb1070d60241ceb207182662d41ddd>:0)
BehaviorDesigner.Runtime.Behavior.CheckForSerialization () (at <00cb1070d60241ceb207182662d41ddd>:0)
BehaviorDesigner.Runtime.Behavior.DrawTaskGizmos (System.Boolean selected) (at <00cb1070d60241ceb207182662d41ddd>:0)
BehaviorDesigner.Runtime.Behavior.OnDrawGizmos () (at <00cb1070d60241ceb207182662d41ddd>:0)
Any idea what I've done wrong?
ArgumentException: Type cannot be null.
BehaviorDesigner.Runtime.SharedVariable`1[T].InitializePropertyMapping (BehaviorDesigner.Runtime.BehaviorSource behaviorSource) (at <00cb1070d60241ceb207182662d41ddd>:0)
BinaryDeserialization.BytesToSharedVariable (BehaviorDesigner.Runtime.FieldSerializationData fieldSerializationData, System.Collections.Generic.Dictionary`2[TKey,TValue] fieldIndexMap, System.Byte[] bytes, System.Int32 dataPosition, BehaviorDesigner.Runtime.IVariableSource variableSource, System.Boolean fromField, System.Int32 hashPrefix) (at <00cb1070d60241ceb207182662d41ddd>:0)
BinaryDeserialization.LoadField (BehaviorDesigner.Runtime.FieldSerializationData fieldSerializationData, System.Collections.Generic.Dictionary`2[TKey,TValue] fieldIndexMap, System.Type fieldType, System.String fieldName, System.Int32 hashPrefix, BehaviorDesigner.Runtime.IVariableSource variableSource, System.Object obj, System.Reflection.FieldInfo fieldInfo) (at <00cb1070d60241ceb207182662d41ddd>:0)
BinaryDeserialization.LoadFields (BehaviorDesigner.Runtime.FieldSerializationData fieldSerializationData, System.Collections.Generic.Dictionary`2[TKey,TValue] fieldIndexMap, System.Object obj, System.Int32 hashPrefix, BehaviorDesigner.Runtime.IVariableSource variableSource) (at <00cb1070d60241ceb207182662d41ddd>:0)
BinaryDeserialization.LoadTask (BehaviorDesigner.Runtime.TaskSerializationData taskSerializationData, BehaviorDesigner.Runtime.FieldSerializationData fieldSerializationData, System.Collections.Generic.List`1[BehaviorDesigner.Runtime.Tasks.Task]& taskList, BehaviorDesigner.Runtime.BehaviorSource& behaviorSource) (at <00cb1070d60241ceb207182662d41ddd>:0)
BinaryDeserialization.Load (BehaviorDesigner.Runtime.TaskSerializationData taskData, BehaviorDesigner.Runtime.BehaviorSource behaviorSource) (at <00cb1070d60241ceb207182662d41ddd>:0)
BehaviorDesigner.Runtime.BehaviorSource.CheckForSerialization (System.Boolean force, BehaviorDesigner.Runtime.BehaviorSource behaviorSource) (at <00cb1070d60241ceb207182662d41ddd>:0)
BehaviorDesigner.Runtime.Behavior.CheckForSerialization () (at <00cb1070d60241ceb207182662d41ddd>:0)
BehaviorDesigner.Runtime.Behavior.DrawTaskGizmos (System.Boolean selected) (at <00cb1070d60241ceb207182662d41ddd>:0)
BehaviorDesigner.Runtime.Behavior.OnDrawGizmos () (at <00cb1070d60241ceb207182662d41ddd>:0)