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"

Cannot compile code in editor (generated conflicts)

Hello Everyone,

So, when trying to make changes to .cpp or .h files in VS2013 and then trying to compile in the editor I am getting the following error.

Info ERROR: 'C:/Users/Jamie/Documents/Unreal Projects/MyProject2/Intermediate/Build/Win64/Inc/MyProject2/MyProject2.generated.inl': Changes to generated code are not allowed - conflicts written to 'C:/Users/Jamie/Documents/Unreal Projects/MyProject2/Intermediate/Build/Win64/Inc/MyProject2/MyProject2.generated.inl.conflict'

Info Error: Failed to generate code for MyProject2

Info ERROR: UnrealHeaderTool failed for target 'MyProject2' (platform: Win64, module info: C:\Users\Jamie\Documents\Unreal Projects\MyProject2\Intermediate\Build\Win64\MyProject2\Development\UnrealHeaderTool.manifest).

However when I close the editor and then compile in VS2013 then re-open the editor my changes have been compiled. This is really disrupting what could be a great workflow. I assume this is something I have done?

It is the same on using github source (4.0.1 and 4.0.2) and the Launcher project templates.

I look forward to an answer. Thank you.

Product Version: Not Selected
more ▼

asked Apr 03 '14 at 07:00 AM in C++ Programming

avatar image

21 2 5 4

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

3 answers: sort voted first

If you add a new class, a new function or a new component you need to close editor, compile from VS and then reopen the editor - as long it causes changes to the editor, this is required. However if you are only changing the code of already existing functions then you can compile from the editor.

more ▼

answered Apr 03 '14 at 07:13 AM

avatar image

516 3 5 12

avatar image PixelTwitch Apr 03 '14 at 03:07 PM

I am not adding new classes. I am simply making edits to the My Character class from the FPS template... Is that error that I mentioned due to needing to restart?

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

I was seeing such same issues until I installed the VS Extension that comes in /Engine/Extras/UnrealVS/VS2013.

Then using that, setting my game as the Launcher (be sure to right click the toolbar and select "UnrealVS" to show it) and launching my game, I never saw any of these generated conflicts again.

With the game set as the launcher, I use F5 to launch an instance and hot code deploy in editor by using Ctrl Alt Shift P.

However, as EvilCleric states, you must stop the process and recompile from VS after adding new classes.

Hope you solve the issue! It was making me pull my hair out!

more ▼

answered Apr 08 '14 at 03:01 AM

avatar image

58 6 8 11

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

"compile from VS and then reopen the editor" This was the solution to me. So for anyone else having this problem, here you go, short and sweet.

more ▼

answered Mar 21 '17 at 11:27 AM

avatar image

243 7 5 14

(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