[STUCK] NEED HELP - Unreal engine problem when i reload my game!

Hello every body,

Got a big problem with my projects since the begining i learn unreal and c++.
When i close my unreal window, and i reopen it later (maybe a few day later), my game doesnt work anymore… even if i compiled correctly and saved. It does that for all my projects (almost 8 now) actually i reopend the FPS project at the end of the course https://www.gamedev.tv/courses/enrolled/1638644 , that was working perfectly even yesterday, and i didnt touch it anymore since yesterday… and i would open it to show it to my friend, but when i opened it, the AI is broken, they go straight til my coords and they stop their run, thats all, instead of shooting me and following me…


I tried to solve it but no results.

I am really worried about these bugs, if i dont open my games for 1 day at least or more, my games dont work anymore :confused: what is the problem please can someone explain me and help me to solve this problem definitly ?

Thank you very much

Have you seen the Live Coding issues lecture. You need to build with Unreal closed before you re-open it if you used Live Coding. If you’re already doing that you’re probably using the wrong task, be sure to use the editor version.

If you’re still having problems please show the output of running the task.

1 Like

Dan,

Thank you for the answer, the teacher (Sam) didn’t explain that we had to compile each time we need to open it on Unreal.

My build was the right (developer and editor) but i needed to rebuild it, but shal i really need to build it from visual code each time i want to open it again ?


Thank you anyway for your help thats very helpful.

By the way i got another question, on the picture you can see “NAVMESH need to be rebuilt” what is the meaning and what to do to solve it ? I tryied to “build” the project" and i got a warning "

"

Not every time, only if you used Live Coding. Is suggest building when you close Unreal.

That the navmesh needs to be rebuilt as you’ve likely changed the scene making the previously built navmesh to be incorrect. You can build it from the Build menu in Unreal and use build paths

1 Like

Thank you very much for your answer, very helpful as usually :slight_smile:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms