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 ?
Jul 07 '10 at 11:37 PM
Check the player log to if it's throwing some kind of exception.
Also, general debugging practices
Jul 07 '10 at 11:41 PM
not getting any errors in the log. my first instantiate is triggered in the awake of my level and thats working. the others in the update function but using the same code and that doesn't work.
it turned out to be a typo in the tagging, strange but it works now
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: Jul 07 '10 at 11:37 PM
Seen: 1088 times
Last Updated: Jul 07 '10 at 11:37 PM
Respawn player by Instantiation in multiplayer.
enemy respawn after amount of time
Instantiate over time?
Instantiate script help.
how could you, while holding a button destroy then reinstantiate an object in original position after time?
destroying an object instantiated that came out of spawn point
My object don't spawn as expected so what should I do?
Animated Texture and Instantiation
Instantiating an object based on time
instantiating at a random time