Hello. I wanted to ask if there was anyway I can update coding while running both Unreal Engine 5 and Visual Studio, rather than shutting down Unreal Engine every time I make edits to the codes? I keep getting the log:
Unable to build while Live Coding is active. Exit the editor and game, or press Ctrl+Alt+F11 if iterating on code in the editor or game FirstProject
It seems like you have the editor launched outside of Visual Studio so when you try to build, they conflict. Launch your editor via Visual Studio and you should be good!
You are unable to do that because live coding automatically compiles the code everytime you edit a file (that’s the first thing I disable because I’ve had so many problems with it, if I don’t restart the editor I always have a different problem, like child blueprints not updating, components missing or corrupted, et cetera).
I don’t think the problem is with live coding itself but with “hot reload”, because it happens even when it’s disabled.
I made a free plugin to restart the editor and I use it a lot, another method I use is to launch the project from the IDE with the debugger attached, when I change some code an I press F5 it automatically builds the solution and reloads the editor