Unreal Editor keeps deleting my scripted actors
Hi. Problem is simple but i don't know how the hell can i solve it. I am programming using C++. After i modify any of my script .h files (example: MyActor.h) my actors stops working in editor other than it was 5 seconds before. I can modify .cpp files. I hate this Editor. It keeps deleting my scripted actors from scene. It is scheme, how i (must) do. - Modify some .h file - Check if it working - No it is not working - Reopen UE4 editor - 0 elements on scene, i scripted before.
I am trying to write bush repulsion when pawn is near but it deletes all of the bushes and erases pawn's visible element mesh data. Please help me, i can't reopen and add again 1000x bush or other actor every time i modify .h file. I forgot to mention it - after modifying .h file, when i try to select bush it selects only Instance of "Plant" (this is the name of my script) and the position is in (0,0,0) and receiving location of actor is not working in C++ code (it returns actors position, not component's position >.<)
To continue assisting you, I will need more clear steps to reproduce the issue as previously stated. For tracking purposes, I'm going to set this question to resolved. If you still require assistance, please add a comment letting me know and the question will reopen so that we can continue further.
Have a nice day,
answered May 04 '15 at 02:42 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here