Need More Information

State machine object sometimes loses gameobject variable if variable is not visible in inspector

Elvisish 5 months ago updated 5 months ago 2

The problem seems to be fixed if the inspector can display the gameobject in the inspector.

Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):
Bolt 2
Need More Information

Hi Elvishish,

Sorry for the issue and thanks for the report.

Can you be more specific about what you mean by "loses"?

And what do you mean exactly by "state machine object"? (Bolt Component? Bolt Class? State Behaviour?)


I *think* these weird bugs happen if I don't fix this bug: (https://support.ludiq.io/communities/5/topics/4989-type-inference-is-too-strict-on-generic-bolt-type-arguments) by reselecting the object to set it correctly. That clears the red error, and if I don't clear the error it seems to cause things to break, like state machine states don't always trigger.