Im having the problem where the generated.h file is out of sync with my code.
In particular I renamed functions and changed the method signature.
Now the generated.h file still contains names of methods which don’t exist anymore.
How can I regenerate this file? Generating VS project files doesn’t work.
Rebuild the code, it will delete all modules DLLs, object files (unlinked machine code) and generated code and redo them again. This is also fixes mystries random unexplainabale crashes, sometimes object files lose compatibility when they are partly recompiled and it causes crashes.
Watch out if you got UE4 from source, rebuild will also delete engine module DLLs and EXEs, to prevent that in project settings in VS, in NMake section in rebuild command path add “-rocket” at the end.
Thanks for the quick answer!
The problem was a little more complex. I was typedef-ing nested containers. Something which Unreal doesn’t like apparently. So It wouldn’t generate the files again, even if I would rebuild. But, once I got it all sorted out, it worked. Thanks!