Crash when Editor Play game

It’s possible that some of your visual studio settings are causing the crash, but I don’t know enough about visual studio to know for sure. I’m glad you found the bad code.