Hey all, I’m brand new to Unreal after a few years with Unity and I think I’m missing something here.
Whenever I reopen a project, any changes to .cpp or .h files are not present. This includes new files that no longer appear in the engine (though I can see them present on disk), as well as any new code in existing files not appearing in the details panel and not running in the game.
My workflow is this:
- Open project (new or existing)
- Do .cpp and/or .h edits in files via VSCode
- Save changes in IDE
- Recompile via live coding button
- Carry on no problem.
- Close project for the day:
- Close engine
- Build in the IDE
- Open project: No changes apparent.
I can hit the live coding recompile button again to show changes, but any values in the details panel are lost and set to defaults.
If I delete the binaries folder in the root project folder before I reopen the project (step 9), then there is no problem. All .h and .cpp files, as well as the edited values in the details panel, appear as they did when I last closed out of the project.
I feel like deleting the binaries folder evrey time is probably not the intended workflow here, but I’ve reproduced this on 3 new projects and it’s the same every time.
Any tips out there?