[Packaging] UE4Editor.modules creating a packaging error


I’m currently working on a UE4 VR project called myTest, which works fine in the editor.
However, as soon as I try to package the project, it fails, because of a “LogInit: Warning: Incompatible or missing module: UE4Editor-myTest.dll” error.

When I checked the Output log, I found out that the blocking error is “LogModuleManager: Warning: Module file D:/Lucas_BG/BackUp_UnrealEngine/myTest_Current/Binaries/Win64/UE4Editor-myTest-4815.dll is missing. This is likely a stale module that must be recompiled.”
I managed to bypass this error by modifying the file Binaries/UE4Editor.modules, in which there is a variable “myTest” set to “UE4Editor-myTest-4815.dll”, I set it back to “UE4Editor-myTest.dll”

Yet, when I restart my computer, the file is overwritten, and “myTest” is set to another value, and I do not understand why.
Unless I reset the variable name by myself, I can’t package my project.

Does anyone know why is this happening, and how I can fix that ? Although I found how to bypass the problem, it’s pretty annoying.