When you build the game everything editor-related gets cutted, so if you have any reference to it in your code, it will crash. Except if this code is in an “Editor” folder, in that case, all this code it’s ignored. So, if your friend and you really have identical folders and he can build… well, he did some trick or magic that I don’t know 🙁