Open
Description
Problem
This script has no effect:
This script causes the ball to spawn:
Cause
What should happen is:
Player.Start
is called by UnityCoilPlayer.OnStart
is calledCoilPlayer.HandleCoilEvent
is added as a callback toIGameLogicEngine.OnCoilChanged
- The table script starts running and the "Pulse Coil" node is executed
- The ball spawns
The problem is that the table script starts running before Player.Start
is called and nothing happens because CoilPlayer.HandleCoilEvent
does not yet observe IGameLogicEngine.OnCoilChanged
. This might be non-deterministic as well because the order of in which Start
is called on MonoBehaviours is. Not sure how it is in Visual Scripting.
Metadata
Metadata
Assignees
Labels
No labels