I don’t know why I’m getting this issue, but I’ve stuck with this for quite a while now. Killing and restarting UE5.2 doesn’t fix it, restarting my PC doesn’t fix. IIRC, live coding was crashing before for some weird reason before. I tried to execute live coding today and it finished, but now I got that issue I mentioned in the title. I’ll give UE5.2 another chance today by letting it try to do it’s thing, but if it doesn’t finish in the next 2 hours, I’ll just go back to the more reliable bs that I know.
I’m having the same issue, a work around i have is that I seem to be able to run the project from the cpp sln project file. basically i just build and execute it in visual studios, then it brings up my ue5 editor and everything works ok, but it’s a massive pain, and I just want to be able to live code and open my project with the .uproject, but I can’t find a way to get that to work with my live coding. if anyone finds a fix for the live coding issues I would love to hear about it
edit: I rebuilt the full solution and just the project a couple of times, the went into my editor and disabled live coding, then recompiled the c++ code, and it worked fine, it doesn’t seem to want me to reenable live coding for some reason, but I can run it with my c++ functions working properly.
a couple of notes for those of you who are like me and totally oblivious to some should be known aspects of ue5. the live coding recompile button, you click on the three dots next to it and can enable or disable live coding, I think most people know that. if you disable live coding you can still click on the button to recompile the c++ code, I didn’t know this, and I have no idea how it’s any different from live coding, but it worked for me.
other note, if you run from the c++ project, if you run without debugging it won’t be running in the background and so it doesn’t put further load on my pc. I don’t know if this is common knowledge, but it was news to me, so hopefully someone else finds it useful.
Yeah, I went to the unofficial Unreal discord server and people din suggest that live coding is kinda not good and it’s better to just launch and compile your project through Visual Studio. A person there suggested to read this blog from one of the the members: Unreal C++ speedrun - Laura’s (Mostly) Unreal Blog
I was able to fix this by deleting the Binaries and Intermediate Folders in the project directory.
I’ve been getting this occasionally as well. The only work around I have is to delete the binaries, intermediate, saved folders and regen the solution and rebuild in the editor that way.
I need to dig in better on how to launch from visual studio. Right now I don’t have the option to debug so I do the coding in visual studio but then live coding in the editor to bring those changes in (which often crashes anyway so I am constantly having to do the above with deleting folders and rebuilding which is a right pain)