respawn works in editor but not in build

my little test game works fine in the editor but when i build a web or standalone player, the respawning doesn't work anymore. my code is located in the Update function. Any ideas ?

Check the player log to if it's throwing some kind of exception.

Also, general debugging practices