How to find Unkown Tasks and Nintendo Switch errors

danny100

New member
When we run our build on the Switch, we get errors due to Unknown tasks (pasted below). We are unable to figure out how to search the project for unknown tasks.
any help would be much appreciated, thank you!










MissingMethodException: Default constructor not found for type BehaviorDesigner.Runtime.Tasks.UnknownTask
at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x00000] in <00000000000000000000000000000000>:0
at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00000] in <00000000000000000000000000000000>:0
at System.RuntimeType.CreateInstanceDefaultCtor (System.Boole
an publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00000] in <00000000000000000000000000000000>:0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00000] in <00000000000000000000000000000000>:0
at BehaviorDesigner.Runtime.TaskUtility.CreateInstance (System.Type t) [0x00000] in <00000000000000000000000000000000>:0
at BinaryDeserialization.LoadTask (BehaviorDesigner.Runtime.TaskSerializationData taskSerializationData, BehaviorDesigner.Runtime.FieldSerializationData fieldSerializationData, System.Collections.Generic.List`1[BehaviorDesigner.Runtime.Tasks.Task]& taskList, BehaviorDesigner.Runtime.BehaviorSource& behaviorSource) [0x00000] in <00000000000000000000000000000000>:0
at BinaryDeserialization.Load (BehaviorDesigner.Runtime.TaskSerializationData taskData, BehaviorDesigner.Runtime.BehaviorSource behaviorSource) [0x00000] in <00000000000000000000000000000000>:0
at BehaviorDesigner.Runtime.BehaviorSource.CheckForSerialization (System.Boolean force, BehaviorDesigner.Runtime.BehaviorSource behaviorSource) [0x00000] in <00000000000000000000000000000000>:0
at BehaviorDesigner.Runtime.Behavior.CheckForSerialization () [0x00000] in <00000000000000000000000000000000>:0
at BehaviorDesigner.Runtime.BehaviorManager.EnableBehavior (BehaviorDesigner.Runtime.Behavior behavior) [0x00000] in <00000000000000000000000000000000>:0
at BehaviorDesigner.Runtime.Behavior.EnableBehavior () [0x00000] in <00000000000000000000000000000000>:0
at BehaviorDesigner.Runtime.Behavior.Start () [0x00000] in <00000000000000000000000000000000>:0
 
One way would be to import the runtime source code and then to add a try/catch block to TaskUtility.CreateInstance. You can then add a breakpoint to the catch portion to figure out which tree it is referencing.

 
Top