x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Generated.H file out of sync

Hello,

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.

Any ideas?

Thanks, Marc

Product Version: UE 4.9
Tags:
more ▼

asked Sep 23 '15 at 08:11 PM in C++ Programming

avatar image

Geoeo
5 2 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Sep 23 '15 at 08:56 PM

avatar image

Shadowriver
37.3k 936 172 1116

avatar image Geoeo Sep 23 '15 at 10:02 PM

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!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question