I get crashes like this all the time. I’ve noticed it can be from stale binaries that won’t update regardless of compiling in editor or building/rebuilding in Visual Studio. I’d recommend closing the editor along with Visual Studio, deleting the following folders “Binaries” “Intermediate” “Saved”, right clicking on your uproject file and selecting “Generate Visual Studio project files.”
After that, I’d reopen Visual Studio and build your project from there.