So i have a nice blueprint that is supposed to start looking for its neighbours on construction scripts. And it works up to the point that i start simulating or playing the game. Then suddenly the trace finds nothing. What can be the reason for that?
The construction script only runs in the editor, not when you play or simulate the game. To get the same behavior in game, you’ll need to use the event graph.
Ok so apparently constructor script in editor is called after everything is created.
But in game it occurs when each individual element is created so my script that was supposed to look for neighbours sometimes found them sometimes they werent there yet because of the order those were created.
So essentially editor constructor event = play begin play event