Hello.
I have been having some issues with shared FSM’s. When I use the same FSM on serveral objects one of them gets the FSM and the others gets a (Clone) of the FSM. And when I click the one that is NOT a clone all the clones get triggered too. The clones work as expected only on the owner object.
Any ideas on what I’m doing wrong here?
At runtime each agent (FSMOwner) gets it’s own instance of the FSM, else they would all act on the exact same instance which is not desirable. So the fact that you get a clone in runtime is just normal 🙂
But, indeed there is a bug you just found regarding the system event conditions.
Please open up Task.cs and comment out line #176 where it says SubscribeToEvents(agent).
Thanks for the bug find.
Join us on Discord: https://discord.gg/97q2Rjh
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.