
2.0.0.0a6 "doesn't own [variable/event/graph]" errors
"ClassA" sets var "Health" on "ClassB" then calls a function on ClassB to log it's own Health var.
ERROR:
InvalidOperationException: Class ClassA (ClassDefinition) doesn't own variable Health.
InvalidOperationException: Class ClassA (ClassDefinition) doesn't own variable Health.
Ludiq.Bolt.ClassDefinition.EnsureOwnsVariable (Ludiq.Bolt.ClassVariable variable) (at Assets/Ludiq/Bolt.Core/Runtime/Architecture/ClassDefinition.cs:178)
Ludiq.Bolt.ClassHost.EnsureValidVariable (Ludiq.Bolt.ClassVariable variable) (at Assets/Ludiq/Bolt.Core/Runtime/Architecture/ClassHost.cs:480)
Ludiq.Bolt.ClassHost.SetTransientVariable (Ludiq.Bolt.ClassVariable variable, System.Object value) (at Assets/Ludiq/Bolt.Core/Runtime/Architecture/ClassHost.cs:577)
Ludiq.Bolt.ClassHost.SetVariable (Ludiq.Bolt.ClassVariable variable, System.Object value) (at Assets/Ludiq/Bolt.Core/Runtime/Architecture/ClassHost.cs:639)
Ludiq.Bolt.SetClassVariable.Set (Ludiq.Bolt.Flow flow) (at Assets/Ludiq/Bolt.Flow/Runtime/Units/Architecture/SetClassVariable.cs:75)
Ludiq.Bolt.Flow.InvokeDelegate (Ludiq.Bolt.ControlInput input) (at Assets/Ludiq/Bolt.Flow/Runtime/Flow.cs:497)
Rethrow as GraphPingException:
Ludiq.Bolt.Flow.InvokeDelegate (Ludiq.Bolt.ControlInput input) (at Assets/Ludiq/Bolt.Flow/Runtime/Flow.cs:501)
Ludiq.Bolt.Flow.Invoke (Ludiq.Bolt.ControlOutput output) (at Assets/Ludiq/Bolt.Flow/Runtime/Flow.cs:395)
Ludiq.Bolt.EventHandlerUnit`1[TArgs].Run (Ludiq.Bolt.Flow flow) (at Assets/Ludiq/Bolt.Flow/Runtime/Units/Events/EventHandlerUnit.cs:127)
Ludiq.Bolt.EventHandlerUnit`1[TArgs].Invoke (Ludiq.Bolt.GraphReference reference, TArgs args) (at Assets/Ludiq/Bolt.Flow/Runtime/Units/Events/EventHandlerUnit.cs:106)
Ludiq.Bolt.EventHandlerUnit`1+<>c__DisplayClass17_0[TArgs].b__0 (TArgs args) (at Assets/Ludiq/Bolt.Flow/Runtime/Units/Events/EventHandlerUnit.cs:73)
Ludiq.Bolt.EventBus.Invoke[TArgs] (Ludiq.Bolt.EventHook hook, TArgs args) (at Assets/Ludiq/Bolt.Core/Runtime/Events/EventBus.cs:153)
UnityEngine.Debug:LogException(Exception, Object)
Ludiq.Bolt.EventBus:Invoke(EventHook, EmptyEventArgs) (at Assets/Ludiq/Bolt.Core/Runtime/Events/EventBus.cs:157)
Ludiq.Bolt.ClassHost:InvokeEvent(EventHookID) (at Assets/Ludiq/Bolt.Core/Runtime/Architecture/ClassHost.cs:813)
Ludiq.Bolt.UnityClassHost:Update() (at Assets/Ludiq/Bolt.Core/Runtime/Architecture/UnityClassHost.cs:33)
Ludiq.Bolt.ClassComponent:Update() (at Assets/Ludiq/Bolt.Core/Runtime/Architecture/ClassComponent.cs:92)
Duplicates 1
Customer support service by UserEcho
Hi CSmith,
Thanks for the report. This will be fixed in the next version.
Hi TowerCrow,
Thanks for the report. This will be fixed in the next version.