Lately updated to Visual Studio 15.5.1 and recompiled branch 4.18.1 from github
Since new build, we get a ue4 crash when refreshing navmeshes.
It happens during startup (if map uses custom navmesh parameters - eg. cellsize) or in editor (if we ever try to change any recastnavmesh parameter).
Same project works fine with Epic 4.18.1 binary release or with our previous build with VS 15.4.5.
The problems doesn’t seem to be project related, cause crash also happens with any projects if we just try to update navmesh parameters (e.g. starter content)
Any suggestions?
ps: noticed that only some .dll and .pdb files size are slightly different from previous build (even I’m using exactly the same source code), but this is quite usual
Rolled back to 15.4.5 and recompiled ue4… no more crash.
I had no to get log of the crash, anyway repro is quite easy: just download 4.18.1 source from github, VS 15.5.1 from microsoft website and compile ue4. Then start a project, put a nav mesh bound volume on the map and change a parameter from “generation” section (e.g. tile size uu) in recast nav mesh details. UEditor will crash suddenly.
I had my engine crash at the exact same function a while ago, and I found out that its a compiler issue caused by the optimizations the compiler is doing. So disabling optimization for that one function did fix the issue for me:
Also had this issue (trying to open migrated project in 4.18.1 source build crashed consistently at 93%). Rolling back from the latest Visual Studio version to 15.4.5 worked for me!
Thank you for mentioning this issue. We have had a few reports about this crash, and have already reached out to Microsoft about this. They are looking into a fix for the compiler in Visual Studio 2017 version 15.5.