Hello all, I hope I’m in the right section.
I’m not good at scripting so I don’t know what I’ve been doing wrong but I have a problem here
After messing with my script I finally made my game to show a guitexture when the player dies or
When the time runs out. One guitexture is next stage and the other one is retry.
Inside unity they work great. But when I export to unity web player the button aren’t clickable.
How can I fix that?
Searched around but didnt found anything.
Thanks guys. Btw i’m using JavaScript.
I had a similar problem. It turned out that it was not the WebPlayer wrapper problem, but problem with HTML wrapper:
I had an outdated UnityObject.js URL because I hosted it locally, and didn’t change it when UnityPlayer version changed.
You should always keep UnityPlayer version and UnityObject.js in sync, so it is the best to reference it right from Unity site (for Unity 3.x at least):
…or in other words, the exact location that was set by UnityEditor itself when building the wrapper.
Additionally, if you messed with web player dimensions (having your own HTML template to generate the wrapper from), try if the web build is working with the default Unity one.