I also have the same problem, obviously did the same and also tried regenerating VS project files, but it still always crashes when I compile. After it crashes everything works fine after restarting, but compiling again makes it crash, both by compiling through engine and IDE(Rider in my case). The code doesn’t seem to be the problem, unless it’s caused through some code that’s in the provided engine functions/classes