I have some BPs that have just a mesh added in their viewport with no collision, no physics, nothing basically placed in te level.
I get all actors of class to add a spline based on these BPs locations, then divide it to get equally spaced coordinates along spline at points which coordinates finally are used as nav points.
These BPs are called something_01, something_02, something_03 and so on incrementally.
When I get all actors of class the sequence is all messed up, it basically shuffles the array with no apparent order.
To “fix” this I used to compile the nav point BP and then at execution of the level the were lined up correctly, this has worked until I had opened the level containing the BPs path.
Now that I’m loading this level from another one there’s no way to get the nav points sorted sequentially.
I have even set up some logic to sort them, this works until this logic is executed in that same level, when I load it from another one everything get messed up.
Is it normal? Is there a way to get actors in the same order as they’ve been placed in the level?