Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by Yulian-Titov148 · Apr 07, 2021 at 09:35 PM · scripting problemeditorexceptiongraph

Bolt - InvalidOperationException - Variable not found

Hi, I'm using Bolt (1.4.15) I added variable to the gameobject "MoveSpeed": alt text


Then I passed this variable to input "force" in the flow graph: alt text


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].b0 (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+<>cDisplayClass14_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

screen-0.jpg (250.1 kB)
screen-1.jpg (326.7 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

243 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why I'm getting only sometimes : MissingReferenceException: The object of type ... But none of the scripts exist on my hard drive ? 0 Answers

How can i make both two cameras to follow the player but only one with control on player ? 0 Answers

Stop Unity from freezing on NullReferenceExceptions ? 1 Answer

Problem when using script in multiple scenes. 1 Answer

How can I check if a key is down in scene view? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges