Unreal Editor crashes every time I compile with new c++ code

Hello, UE4 team and game developers.
I’m currently working on Unreal Engine project using version 4.18.3
Editing and compiling Blueprint has no problems and works well.
But when I add c++ code and compile, then the unreal editor crashes and terminate at the end of the compile process.
I switched visual studio version to 2015 from 2017, but it didn’t help me.
The problem is that when I restart the unreal editor after crashing, second compile succeed soon.
So I’m so tedious about restarting the unreal editor every time I added new c++ code and compile.
Compiling without code change always success, but always crash when I put any small c++ code.
My project currently contains MobileUtils, Gamesparks, Crashlytics plugins included.
Please give me the solution.
I found the developers encountered same issue but I cannot find the proper answer or solution.
Please help me and tell me the solution if you have.
Thank you.

Can you pls upload log + crashdumps? :slight_smile:
Without that even Neo from Matrix cant debug this :slight_smile:

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