Reply To: Bug: SendEvent doesn't work with instantiated prefabs, sometimes.

FlowCanvas Forums Support Bug: SendEvent doesn't work with instantiated prefabs, sometimes. Reply To: Bug: SendEvent doesn't work with instantiated prefabs, sometimes.

#2281
guyboots_thunderbro
Participant

> <span style=”background-color: #fbfbfb; color: #323232; font-family: ‘Open Sans’; font-size: 12px;”>Just to clarify, are you calling a SendEvent from the root gameobject graph, that you are expecting to be “catched” by a graph on the child gameobject?</span>

Yep!

> <span style=”background-color: #fbfbfb; color: #323232; font-family: ‘Open Sans’; font-size: 12px;”>If that is the case, then the problem should be that, when the root graph “Start” is called, the child graph is not yet initialized and as such the event is never catched. One of the changes I am planning for the next version, is to initialize the all graphs before any “Start” event is called. This will effectively fix the issue, if that is indeed your setup.</span>

That sounds great!