So I’ve got a massive problem and have no idea how to resolve it.
Since I’ve updated my project to 4.18, I get a “fatal error” every time I execute the release. It only does this when I choose the “Shipping” configuration for my release, and not in DebugGame or Development.
Here is what I tried :
- removing Saved, Intermediate, Binaries and Config folders
- removing all “Print String” nodes from my blueprints
- removing all c++ classes
- removing my game mode
- disabling all plugins
- Build on Shipping and cooker on debug : Crash
- Build on Debug and cooker on shipping : works
- Deleting every epic/unreal/project files that I could find in AppData
- Rebuilding the project in VS in shipping/development editor
- Verified engine version
but even with an empty map, no code and no gamemode, I get the crash on release.
I tried releasing on a new blank project, and it worked, so it definitely comes from my code, but I can’t isolate the problem.
Here is what gives me the UE4 Minidump :
0xC0000005 : the thread tried to read or write to a virtual address for which it does not have the appropriate access
I know this comes from the 4.18 update because I came back to a previous commit when my project was in 4.17, the release worked fine, then I tried updating to 4.18 and it crashed on execution.
I would really like to be able to use the new features for my project, like the Volumetric Lightmaps, there must be some thing in my blueprints that makes it crash, but I have no idea where to look. Any leads ?
Thanks in advance for your help,
Keep up the great work,
Edit : I did rename the entire project recently (BEFORE updating to 4.18, and the release worked after renaming), and since 4.18 it created a newName.sln, so I removed the oldName.sln. Could it be related ?
Edit 2 : I just followed this tutorial to rename the project (should have done it before) but it didn’t change anything
Edit 3 : So just to be sure if it was or not the renaming of the project, I came back to the original project (I didn’t exactly rename it, I cloned it and changed the name, so I still had the original one) which was in 4.17, I tried releasing, it launched fine, I updated to 4.18, it crashed. So… definitely not the renaming !