[4.13.1] Spontaneous Engine Rebuild

Build: Source

This one is difficult to reproduce. These are my most reliable steps to reproduce:

  1. Change a header file
  2. Build “Project Only”
  3. Hope that you get the “hotreload output device” crash which occurs some percentage of the time that a header file is edited and a hot reload is executed
  4. Restart Editor
  5. Get prompted to rebuild your game project’s module because it’s out of date
  6. Say yes to rebuild, and occasionally your project will be rebuilt, and then the entire engine will rebuild itself

It’s not clear why the engine would attempt to rebuild itself. I did have an engine source file open in VS when the project build / crash / restart editor process occurred, however there were no edits to the file and it wasn’t the focus, so a “project only” build would not have targeted the engine.

Although this is difficult to reproduce it is a true productivity killer. Perhaps it is related to the “module is out of date” messages that occur after hotreload crashes which began appearing after 4.10.4 or so?

Hi piinecone,

I apologize for the delay in responding to your post. I have made a few attempts to reproduce this in 4.13.1, and so far have not had any luck with it. I was wondering if you had run into this issue at all with 4.14. If you are still seeing it, could you provide a little more information about what change you may have made in step 1, and which header file you were editing at the time?

Also, do you have a callstack for the crash that you mentioned in step 3? If we can identify that crash, it may help repro and identify the cause of the engine rebuild that you are experiencing.

Hi piinecone,

We have not heard back from you for a while. Do you still need help with this issue? I will be marking this post as resolved for internal tracking purposes, but please feel free to add a comment and re-open the post if you need any additional help.