0

version 1.22 NullReferenceException

Federico Martinez 3 years ago 0

Please help In editor everything works fine. But on build mode some of my flow charts don't work. I am getting some errors after AOT prebuild:

NullReferenceException: Object reference not set to an instance of an object
UnityEngine.GUILayout.FlexibleSpace () (at /Users/builduser/buildslave/unity/build/Runtime/IMGUI/Managed/GUILayout.cs:282)
Ludiq.AotPreBuildPage.OnContentGUI () (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/AotPreBuildWindow/AotPreBuildPage.cs:64)
Ludiq.Page.DrawContent () (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/Page.cs:79)
Ludiq.SinglePageWindow`1[TPage].OnGUI () (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/SinglePageWindow.cs:74)
Ludiq.WrappedEditorWindow.OnGUI () (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/WrappedEditorWindow.cs:43)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:285)
UnityEditor.HostView.Invoke (System.String methodName) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:278)
UnityEditor.HostView.OldOnGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:107)
UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt) (at /Users/builduser/buildslave/unity/build/Runtime/UIElements/Managed/IMGUIContainer.cs:127)


---


Ignoring value connection with missing dependencies in flow graph.
This may happen when the codebase or a macro is changed in between serialization operations.
UnityEngine.Debug:LogWarning(Object, Object)
Ludiq.Graph:OnAfterDependenciesDeserialized()
Ludiq.Serialization:CheckIfDependenciesMet(ISerializationDepender) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:227)
Ludiq.Serialization:AwaitDependencies(ISerializationDepender) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:196)
Ludiq.Graph:OnAfterDeserialize()
Ludiq.FullSerializer.fsSerializationCallbackReceiverProcessor:OnAfterDeserialize(Type, Object) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsISerializationCallbacks.cs:126)
Ludiq.FullSerializer.fsSerializer:Invoke_OnAfterDeserialize(List`1, Type, Object) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:1152)
Ludiq.FullSerializer.fsSerializer:TryDeserialize(fsData, Type, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:637)
Ludiq.FullSerializer.fsReflectedConverter:TryDeserialize(fsData, Object&, Type) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/Converters/fsReflectedConverter.cs:97)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_5_Converter(Type, fsData, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:861)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_4_Cycles(Type, fsData, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:851)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_3_Inheritance(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:826)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_2_Version(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:730)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_1_CycleReference(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:675)
Ludiq.FullSerializer.fsSerializer:TryDeserialize(fsData, Type, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:628)
Ludiq.FullSerializer.fsReflectedConverter:TryDeserialize(fsData, Object&, Type) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/Converters/fsReflectedConverter.cs:97)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_5_Converter(Type, fsData, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:861)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_4_Cycles(Type, fsData, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:851)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_3_Inheritance(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:826)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_2_Version(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:730)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_1_CycleReference(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:675)
Ludiq.FullSerializer.fsSerializer:TryDeserialize(fsData, Type, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:628)
Ludiq.Serialization:DeserializeJson(fsSerializer, String, Object&, Boolean) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:158)
Ludiq.Serialization:DeserializeInto(SerializationData, Object&, Boolean) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:113)
Ludiq.LudiqBehaviour:UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Unity/LudiqBehaviour.cs:46)
UnityEditor.SceneManagement.EditorSceneManager:OpenScene(String, OpenSceneMode)
Ludiq.<FindAllProjectStubs>d__2:MoveNext() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Platforms/AotPreBuilder.cs:112)
System.Linq.<Sort>c__Iterator21:MoveNext()
Ludiq.AotPreBuilder:GenerateStubScript(String, IEnumerable`1) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Platforms/AotPreBuilder.cs:181)
Ludiq.AotPreBuilder:GenerateStubScript(String) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Platforms/AotPreBuilder.cs:66)
Ludiq.AotPreBuildPage:OnContentGUI() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/AotPreBuildWindow/AotPreBuildPage.cs:44)
Ludiq.Page:DrawContent() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/Page.cs:79)
Ludiq.SinglePageWindow`1:OnGUI() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/SinglePageWindow.cs:74)
Ludiq.WrappedEditorWindow:OnGUI() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/WrappedEditorWindow.cs:43)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


----



and finally maybe unrelated but I am still getting failed to reflect member on units I deleted from code and from flow charts

Failed to reflect member unit 'VirtualInput.GetTouchDelta'.
Has your codebase changed?

System.MissingMemberException: No matching field, property, method or constructor found: 'VirtualInput.GetTouchDelta'
  at Ludiq.Member.Reflect () [0x00093] in C:\Users\Lazlo\Projects\Ludiq\Ludiq.Core\Runtime\Reflection\Member.cs:575 
  at Ludiq.Member.EnsureReflected () [0x00008] in C:\Users\Lazlo\Projects\Ludiq\Ludiq.Core\Runtime\Reflection\Member.cs:676 
  at Bolt.MemberUnit.ReflectMember () [0x00000] in <filename unknown>:0 
UnityEngine.Debug:LogWarning(Object)
Bolt.MemberUnit:ReflectMember()
Bolt.MemberUnit:OnAfterDeserialize()
Ludiq.FullSerializer.fsSerializationCallbackReceiverProcessor:OnAfterDeserialize(Type, Object) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsISerializationCallbacks.cs:126)
Ludiq.FullSerializer.fsSerializer:Invoke_OnAfterDeserialize(List`1, Type, Object) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:1152)
Ludiq.FullSerializer.fsSerializer:TryDeserialize(fsData, Type, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:637)
Ludiq.FullSerializer.fsReflectedConverter:TryDeserialize(fsData, Object&, Type) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/Converters/fsReflectedConverter.cs:97)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_5_Converter(Type, fsData, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:861)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_4_Cycles(Type, fsData, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:851)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_3_Inheritance(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:826)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_2_Version(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:730)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_1_CycleReference(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:675)
Ludiq.FullSerializer.fsSerializer:TryDeserialize(fsData, Type, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:628)
Ludiq.FullSerializer.fsSerializer:TryDeserialize(fsData, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:599)
Ludiq.FullSerializer.fsIEnumerableConverter:TryDeserialize(fsData, Object&, Type) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/Converters/fsIEnumerableConverter.cs:100)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_5_Converter(Type, fsData, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:861)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_4_Cycles(Type, fsData, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:851)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_3_Inheritance(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:826)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_2_Version(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:730)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_1_CycleReference(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:675)
Ludiq.FullSerializer.fsSerializer:TryDeserialize(fsData, Type, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:628)
Ludiq.FullSerializer.fsReflectedConverter:TryDeserialize(fsData, Object&, Type) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/Converters/fsReflectedConverter.cs:97)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_5_Converter(Type, fsData, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:861)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_4_Cycles(Type, fsData, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:851)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_3_Inheritance(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:826)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_2_Version(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:730)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_1_CycleReference(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:675)
Ludiq.FullSerializer.fsSerializer:TryDeserialize(fsData, Type, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:628)
Ludiq.FullSerializer.fsReflectedConverter:TryDeserialize(fsData, Object&, Type) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/Converters/fsReflectedConverter.cs:97)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_5_Converter(Type, fsData, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:861)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_4_Cycles(Type, fsData, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:851)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_3_Inheritance(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:826)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_2_Version(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:730)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_1_CycleReference(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:675)
Ludiq.FullSerializer.fsSerializer:TryDeserialize(fsData, Type, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:628)
Ludiq.FullSerializer.fsReflectedConverter:TryDeserialize(fsData, Object&, Type) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/Converters/fsReflectedConverter.cs:97)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_5_Converter(Type, fsData, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:861)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_4_Cycles(Type, fsData, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:851)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_3_Inheritance(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:826)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_2_Version(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:730)
Ludiq.FullSerializer.fsSerializer:InternalDeserialize_1_CycleReference(Type, fsData, Type, Object&, List`1&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:675)
Ludiq.FullSerializer.fsSerializer:TryDeserialize(fsData, Type, Type, Object&) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Dependencies/FullSerializer/fsSerializer.cs:628)
Ludiq.Serialization:DeserializeJson(fsSerializer, String, Object&, Boolean) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:158)
Ludiq.Serialization:DeserializeInto(SerializationData, Object&, Boolean) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:113)
Ludiq.LudiqBehaviour:UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Unity/LudiqBehaviour.cs:46)
UnityEditor.SceneManagement.EditorSceneManager:OpenScene(String, OpenSceneMode)
Ludiq.<FindAllProjectStubs>d__2:MoveNext() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Platforms/AotPreBuilder.cs:112)
System.Linq.<Sort>c__Iterator21:MoveNext()
Ludiq.AotPreBuilder:GenerateStubScript(String, IEnumerable`1) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Platforms/AotPreBuilder.cs:181)
Ludiq.AotPreBuilder:GenerateStubScript(String) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Platforms/AotPreBuilder.cs:66)
Ludiq.AotPreBuildPage:OnContentGUI() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/AotPreBuildWindow/AotPreBuildPage.cs:44)
Ludiq.Page:DrawContent() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/Page.cs:79)
Ludiq.SinglePageWindow`1:OnGUI() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/SinglePageWindow.cs:74)
Ludiq.WrappedEditorWindow:OnGUI() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/WrappedEditorWindow.cs:43)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):