Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

What is the reason of this error?

Discussion in 'Editor & General Support' started by Bagazi, Oct 28, 2019.

  1. Bagazi

    Bagazi

    Joined:
    Apr 18, 2018
    Posts:
    212
    Assertion failed on expression: 'm_CurrentHiddenGameObjects->find(gameObject.GetInstanceID()) == m_CurrentHiddenGameObjects->end()'
    upload_2019-10-28_11-10-56.png

    As described in error log, It is refers to "DontDestroyOnLoad" function. But I cannot find any helpful imformation about this . What is error mean?
     
    _eternal likes this.
  2. Den_Now

    Den_Now

    Joined:
    May 12, 2015
    Posts:
    56
    I'd be interested in the same. Happened to me after upgrading from Unity 2017.x to 2019.1. Still looking for a way to get rid of this.
     
  3. toriakai

    toriakai

    Joined:
    Dec 15, 2016
    Posts:
    1
    I had the same error. Seems to be linked to the fact that my object was hidden in the SceneVis tool. Error disappeared when I changes the visibility to show it again.
     
    Den_Now likes this.
  4. Den_Now

    Den_Now

    Joined:
    May 12, 2015
    Posts:
    56
    Thanks! Problem solved after changing the object to visible.
     
  5. Bagazi

    Bagazi

    Joined:
    Apr 18, 2018
    Posts:
    212
    What is the SceneVis tool ? Is it some third-party tool?
     
  6. Valjuin

    Valjuin

    Joined:
    May 22, 2019
    Posts:
    212
unityunity