Hey there,
I have to run some c++ code(altering some physics bodies) that is supposed to be executed after a map is completely loaded in the Editor(not PIE) and before navigation is automatically being rebuilt.
What I need is the equivalent to BeginPlay(), I tried PostLoad() but not all data(and all components) are available at that point. PostRegisterAllComponents() which is called after that is a bit better, but for some reason Actor-Transform data is not yet available there( I get Zero for the actor position).
When I run the code during the first Tick() in Editor(I am using ShouldTickIfViewportsOnly to do that) everything is working, but this is too late as the navmesh has already been built and the changes I made to the physics bodies are not being taken into account.
Are there any useful methods/callbacks between Actor->PostRegisterAllComponents() and Actor->Tick() I could use?
Thank you!