[Serializable]
public class TestSharedObject : SharedVariable<TestAbstractClass>
{
}
public abstract class TestAbstractClass{
}
MissingMethodException: Method 'Cannot create an abstract class '{0}'..Test.TestAbstractClass' not found.
System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic, System.Boolean wrapExceptions) (at <f646c7a159d243a7909d5204af0f0c56>:0)
System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean wrapExceptions, System.Boolean skipCheckThis, System.Boolean fillCache) (at <f646c7a159d243a7909d5204af0f0c56>:0)
System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Boolean wrapExceptions, System.Threading.StackCrawlMark& stackMark) (at <f646c7a159d243a7909d5204af0f0c56>:0)
System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic, System.Boolean wrapExceptions) (at <f646c7a159d243a7909d5204af0f0c56>:0)
System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) (at <f646c7a159d243a7909d5204af0f0c56>:0)
BehaviorDesigner.Editor.FieldInspector.DrawSingleField (BehaviorDesigner.Runtime.Tasks.Task task, UnityEngine.GUIContent guiContent, System.Reflection.FieldInfo fieldInfo, System.Type fieldType, System.Object value) (at <d6203e70841f4bfeb69e5def378a2bc0>:0)
UnityEngine.Debug:LogException(Exception)
BehaviorDesigner.Editor.FieldInspector.rawSingleField(Task, GUIContent, FieldInfo, Type, Object)
BehaviorDesigner.Editor.FieldInspector.rawField(Task, GUIContent, FieldInfo, Type, Object)
BehaviorDesigner.Editor.FieldInspector.rawField(Task, GUIContent, FieldInfo, Object)
BehaviorDesigner.Editor.FieldInspector.rawFields(Task, Object, GUIContent)
BehaviorDesigner.Editor.VariableInspector.rawSharedVariable(IVariableSource, SharedVariable, Boolean)
BehaviorDesigner.Editor.VariableInspector.rawAllVariables(Boolean, IVariableSource, List`1&, Boolean, List`1&, Int32&, String&, Int32&, Boolean, Boolean)
BehaviorDesigner.Editor.BehaviorInspector.rawInspectorGUI(Behavior, SerializedObject, Boolean, Boolean&, Boolean&, Boolean&)
BehaviorDesigner.Editor.BehaviorInspector:OnInspectorGUI()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:362)
public class TestSharedObject : SharedVariable<TestAbstractClass>
{
}
public abstract class TestAbstractClass{
}
MissingMethodException: Method 'Cannot create an abstract class '{0}'..Test.TestAbstractClass' not found.
System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic, System.Boolean wrapExceptions) (at <f646c7a159d243a7909d5204af0f0c56>:0)
System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean wrapExceptions, System.Boolean skipCheckThis, System.Boolean fillCache) (at <f646c7a159d243a7909d5204af0f0c56>:0)
System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Boolean wrapExceptions, System.Threading.StackCrawlMark& stackMark) (at <f646c7a159d243a7909d5204af0f0c56>:0)
System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic, System.Boolean wrapExceptions) (at <f646c7a159d243a7909d5204af0f0c56>:0)
System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) (at <f646c7a159d243a7909d5204af0f0c56>:0)
BehaviorDesigner.Editor.FieldInspector.DrawSingleField (BehaviorDesigner.Runtime.Tasks.Task task, UnityEngine.GUIContent guiContent, System.Reflection.FieldInfo fieldInfo, System.Type fieldType, System.Object value) (at <d6203e70841f4bfeb69e5def378a2bc0>:0)
UnityEngine.Debug:LogException(Exception)
BehaviorDesigner.Editor.FieldInspector.rawSingleField(Task, GUIContent, FieldInfo, Type, Object)
BehaviorDesigner.Editor.FieldInspector.rawField(Task, GUIContent, FieldInfo, Type, Object)
BehaviorDesigner.Editor.FieldInspector.rawField(Task, GUIContent, FieldInfo, Object)
BehaviorDesigner.Editor.FieldInspector.rawFields(Task, Object, GUIContent)
BehaviorDesigner.Editor.VariableInspector.rawSharedVariable(IVariableSource, SharedVariable, Boolean)
BehaviorDesigner.Editor.VariableInspector.rawAllVariables(Boolean, IVariableSource, List`1&, Boolean, List`1&, Int32&, String&, Int32&, Boolean, Boolean)
BehaviorDesigner.Editor.BehaviorInspector.rawInspectorGUI(Behavior, SerializedObject, Boolean, Boolean&, Boolean&, Boolean&)
BehaviorDesigner.Editor.BehaviorInspector:OnInspectorGUI()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:362)