Search Unity

unity crash: "PlayerLoop called recursively!"

Discussion in 'Editor & General Support' started by arioch82, Jan 17, 2011.

  1. arioch82

    arioch82

    Joined:
    Dec 3, 2009
    Posts:
    253
    Hi I get this error quite "randomly" on a unity web streamed application.

    I think it's because of the level streaming, I'm having this error since i changed my project to a streamed app.

    I've my own "load level" function where i check if the level has been loaded with

    Code (csharp):
    1. while (!Application.CanStreamedLevelBeLoaded(m_level))
    2. {      
    3.     yield return false;
    4. }
    5. Application.LoadLevel(m_level);
    6. yield return true;
    I don't find anything on this, any thoughts?
     
    Last edited: Jan 17, 2011
  2. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    Can you file a bug with a link to the content so we can reproduce the issue?
     
  3. arioch82

    arioch82

    Joined:
    Dec 3, 2009
    Posts:
    253
    sorry it's all content under copyright, my company doesn't let me do that.
    I could try reproducing the issue in a brand new project but unfortunately I can't do it in the short-term...

    any suggestion of what could cause that problem?
    What is this "PlayerLoop" and how can it be called recursively?
    I really need to fix this as soon as I can (I reverted back to a non-streamed application for the time being...)

    Thank you
     
    Last edited: Jan 18, 2011