- Home /
Question by
eventropy · May 11, 2015 at 03:44 AM ·
webplayerunityobject
How can you detect in javascript when UnityObject2 fails to load the unity3d file?
When the unity web player is unable to load the unity3d file at the URL that is provided to it, it displays the error message "failed to download data file". However, when the url returns 404 it doesn't display any error. It just shows the loading screen indefinitely.
I'd like to handle these kinds of errors more gracefully. Is there a way to detect any of these kinds of errors so I can add some logic myself?
Comment
Your answer
Follow this Question
Related Questions
UnityObject2 only for jQuery? 0 Answers
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
webplayer install progress feedback 0 Answers
unityObject is null 2 Answers
unityobject and webplayer 1 Answer