- Home /
Works in the editor, but not when I publish it.. whats wrong...?
Hello,
I have been designing some simple ball related games and they have been working beautifully within the editor. However, when I attempt to publish the game to a web format or standalone about half of the functions don't work. I am using Javascript and I have a hunch it may be related to how I use BroadcastMessage, but I am unsure.
If anyone has had issues like this, I'd appreciate it if you'd share your wisdom.
Thanks,
-Keavon
Try commenting out the broadcast message, and see if that helps... If that's the problem for sure, than comment back, we may need to see your scripts too.
Do you have any code that loads files out of your assets folder? If an asset is not referenced from the scene then it won't be included in the web build unless you put it under the Resources folder.
Justin: The broadcast message is what tells it to spawn the balls unfortunately.
Yoyo, I believe that is not the case, though that is a very helpful tip. Thank you for mentioning it :D
Your answer
Follow this Question
Related Questions
Works in the editor, but not when I publish it.. what's wrong..? 0 Answers
Manually triggering a script from the editor (utility, macro etc.) 1 Answer
Unity Networking client timeout disconnect on standalone build, but not in editor 0 Answers
Editor script - any callback when target is first instantiated? 1 Answer
Monodevelop crash my PC 2 Answers