Search Unity

unity web player crash--- "PlayerLoop called recursively"

Discussion in 'Editor & General Support' started by iverson, Jul 31, 2011.

  1. iverson

    iverson

    Joined:
    Dec 27, 2008
    Posts:
    81
    PlayerLoop called recursively!
    (Filename : C:/BuildAgent/work/f724c1acfee760b6/Runtime/Misc/Player.cpp Line:1201)

    unity web player crash,that's what i got.
     
  2. TheCasual

    TheCasual

    Joined:
    Sep 30, 2010
    Posts:
    1,286
    Well ... you should generally post the script that is causing the problem. I can tell you that recursive means , your loop is not leaving room for any other code to breathe, and just executing over and over inifinitely, so that is a huge problem, but you havent shown us the loop.
     
  3. iverson

    iverson

    Joined:
    Dec 27, 2008
    Posts:
    81
    actually the loop is not from the logic script,i guess it happen when i have unload the assetbundles and destroy the asset.but i have no ideal how to fixed it
     
  4. zine92

    zine92

    Joined:
    Nov 13, 2010
    Posts:
    1,347
    Hmm the problem seems like an error from the file player.cpp. Or maybe it's an external plugin that causing the problem.
     
  5. iverson

    iverson

    Joined:
    Dec 27, 2008
    Posts:
    81
    so, what do get? how to fixed it?
     
  6. zine92

    zine92

    Joined:
    Nov 13, 2010
    Posts:
    1,347
    So basically do you have anything called player.cpp file?
     
  7. iverson

    iverson

    Joined:
    Dec 27, 2008
    Posts:
    81
    player.cpp is a c++ file in UnityEngine i guess,i just do something in c# script