Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Web player WWW problem

Discussion in 'Scripting' started by skitz, Jun 27, 2007.

  1. skitz

    skitz

    Joined:
    Jun 26, 2007
    Posts:
    29
    I'm having some trouble with the WWW class in Unity. My code downloads an XML file, which then contains references to several additional XML files to download. Whenever I play the project in the editor, it works perfectly and downloads the correct data. But when I build a web player, sometimes it works and sometimes it doesn't.

    I've rewritten the code twice and it still has the same result, and only on the web player (running through Safari or Firefox). A previous member had the same issue but he claims it went away by itself - however this isn't happening for me!

    Does anyone have any ideas why this is happening? Or perhaps suggestions on good ways of debugging the web player?

    Thanks!
     
  2. majimojo

    majimojo

    Joined:
    May 2, 2007
    Posts:
    3
    you can try right clicking on your assets and rebuilding your project. that usually fixes my web player bugs.
     
  3. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
  4. skitz

    skitz

    Joined:
    Jun 26, 2007
    Posts:
    29
    Ah I see. Good to hear it's a known issue and is on the way to being fixed! In the mean time I'll use the work-around. Thanks!