Hi,
I'm using Bolt (1.4.15)
I added variable to the gameobject "MoveSpeed":
![alt text][1]
----------
Then I passed this variable to input "force" in the flow graph:
![alt text][2]
----------
And then start receiving following exception in the Editor:
----------
InvalidOperationException: Variable not found: 'MoveSpeed'.
Bolt.VariableDeclarations.Get (System.String variable) (at Bolt.Core.Runtime/Variables/VariableDeclarations.cs:57)
Bolt.GetVariable.Get (Bolt.Flow flow) (at Bolt.Flow.Runtime/Framework/Variables/GetVariable.cs:138)
Bolt.Unit+<>c__DisplayClass86_0`1[T].b__0 (Bolt.Flow recursion) (at Bolt.Flow.Runtime/Unit.cs:356)
Bolt.Flow.GetValueDelegate (Bolt.ValueOutput output) (at Bolt.Flow.Runtime/Flow.cs:646)
Bolt.Flow.GetValue (Bolt.ValueOutput output) (at Bolt.Flow.Runtime/Flow.cs:590)
Bolt.Flow.GetValue (Bolt.ValueInput input) (at Bolt.Flow.Runtime/Flow.cs:536)
Bolt.Flow.GetValue (Bolt.ValueInput input, System.Type type) (at Bolt.Flow.Runtime/Flow.cs:599)
Bolt.Flow.GetConvertedValue (Bolt.ValueInput input) (at Bolt.Flow.Runtime/Flow.cs:609)
Bolt.InvokeMember.Invoke (System.Object target, Bolt.Flow flow) (at Bolt.Flow.Runtime/Framework/Codebase/InvokeMember.cs:175)
Bolt.InvokeMember.Enter (Bolt.Flow flow) (at Bolt.Flow.Runtime/Framework/Codebase/InvokeMember.cs:262)
Bolt.Flow.InvokeDelegate (Bolt.ControlInput input) (at Bolt.Flow.Runtime/Flow.cs:456)
Bolt.Flow.Invoke (Bolt.ControlOutput output) (at Bolt.Flow.Runtime/Flow.cs:350)
Bolt.Flow.Invoke (Bolt.ControlOutput output) (at Bolt.Flow.Runtime/Flow.cs:354)
Bolt.Flow.Run (Bolt.ControlOutput port) (at Bolt.Flow.Runtime/Flow.cs:244)
Bolt.EventUnit`1[TArgs].Run (Bolt.Flow flow) (at Bolt.Flow.Runtime/Framework/Events/EventUnit.cs:185)
Bolt.EventUnit`1[TArgs].Trigger (Ludiq.GraphReference reference, TArgs args) (at Bolt.Flow.Runtime/Framework/Events/EventUnit.cs:156)
Bolt.EventUnit`1+<>c__DisplayClass14_0[TArgs].b__0 (TArgs args) (at Bolt.Flow.Runtime/Framework/Events/EventUnit.cs:68)
Bolt.EventBus.Trigger[TArgs] (Bolt.EventHook hook, TArgs args) (at Bolt.Core.Runtime/Events/EventBus.cs:72)
Bolt.EventMachine`2[TGraph,TMacro].TriggerRegisteredEvent[TArgs] (Bolt.EventHook hook, TArgs args) (at Bolt.Core.Runtime/Events/EventMachine.cs:36)
Bolt.EventMachine`2[TGraph,TMacro].TriggerEvent (System.String name) (at Bolt.Core.Runtime/Events/EventMachine.cs:14)
Bolt.EventMachine`2[TGraph,TMacro].Update () (at Bolt.Core.Runtime/Events/EventMachine.cs:75)
----------
Please, help to fix it!
Thanks,
Yulian
[1]: /storage/temp/178782-screen-0.jpg
[2]: /storage/temp/178783-screen-1.jpg
↧