While the editor shouldn't crash, apparently the issue is that you are saving the file in the wrong directory. You should save it somewhere under Data\Editor\Mods\YourMod\. The editor will then place the generated files (shaders etc) in Data\Public\YourMod\...