Hi! I'm having a weird issue. Some parts of my FSM run and others don't run unless selected in Inspector. It's weird.
I have an FSM that adds a child to a moving platform and then calculates what should be the speed of the character on top while moving on the platform. Then applies it. It loops this until the player leaves the platform.
When it is not working, the player's speed is at a crawl. When it is working, the player's speed is normal +/- speed from moving platform.
Works:
- Adding player as child to platform when entering.
- Removing player from moving platform parent when exiting.
Doesn't Work:
- Calculating / Applying the correct speed of player while on the platform.
Again this works when the object is selected in Inspector, but it does not work if you build the project or while editing if not selected.
Is there something I can do to start investigating this weird quirk more, or is there something I am missing? I've added some screenshots of FSM to help.