UE4Editor.version file getting modified when building project

Hello,

We are using the source version of UE4. Recently, we upgraded from 4.16 to 4.18, and this very strange problem started happening.

We build and distribute the editor to our team using RunUAT.bat with the “Make Installed Engine Builld” target, which has been working for us just fine.

But now, when building our project in Visual Studio while the UE4 Editor is open, it will modify the Engine/Binaries/Win64/UE4Editor.version file and change the BuildID value. After this happens, the next time UE4Editor.exe is started it will not open, claiming the Online Subsystem plugin cannot be found. And if I try to open our .uproject file directly instead of launching UE4Editor.exe, it claims that pretty much every DLL in the editor is the wrong version, and will not open.

However, if we build our project in Visual Studio while the UE4 Editor is closed, it will not modify this file and everything continues to work fine. It’s only when the Editor is open that this happens. Reverting the BuildId value will allow the editor to open again. I tried marking this file as read-only, but then I get an Access Denied error to that path when building in Visual Studio.

I’m guessing it has something to do with hot-reload, but I’m not sure. I’m confused as to why building only our project results in the editor’s version file being modified at all.

Thanks for any help!

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form

Thanks