- Home /
Can anyone help me in Bolt
i want to make a joystick control animation in Bolt Visual script. i try a joystick script and try to access it through Bolt but i get the below error. can any one help me??
InvalidOperationException: Missing target object for 'Joystick.Horizontal'.
Ludiq.Member.EnsureReady (System.Object target) (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Ludiq.Core/Runtime/Reflection/Member.cs:782)
Ludiq.Member.Get (System.Object target) (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Ludiq.Core/Runtime/Reflection/Member.cs:792)
Bolt.GetMember.Value (Bolt.Flow flow) (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Bolt.Flow/Runtime/Framework/Codebase/GetMember.cs:58)
Bolt.Flow.GetValueDelegate (Bolt.ValueOutput output) (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Bolt.Flow/Runtime/Flow.cs:632)
Comment
Top 2 lines are usually most important ones while reading error logs. $$anonymous$$issing target object for 'Joystick.Horizontal'
is pretty self explanatory.
yep, i know but i cant figure out which one is the target object. the Joystick UI or the character. and i am poor in coding. can u help to identify n solve it.
$$anonymous$$issing target object
must be a NullReferenceException
but in more plain language. I don't know how your graph looks like exactly but I can guess you're trying to access a field or method on null
(no object) and this is the reason for such error