Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Assertion failed on expression: 'index < m_size'

Discussion in 'Windows' started by elettrozero, Aug 26, 2017.

  1. elettrozero

    elettrozero

    Joined:
    Jun 19, 2016
    Posts:
    216
    This error occurs when running UWP (D3D, IL2CPP) not in editor.

    The only things I get are :

    Assertion failed on expression: 'index < m_size'
    (Filename: C:\buildslave\unity\build\Runtime/Utilities/dynamic_array.h Line: 386)

    Can anyone shine a light, please?
     
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,920
    This looks like a bug of some sort in Unity, although I'm not sure what could cause it. Can you reproduce it with a certain project? If so, please submit a bug report.
     
  3. elettrozero

    elettrozero

    Joined:
    Jun 19, 2016
    Posts:
    216
    Thanks for your attention, I managed to remove the bug in my project (I think because I switched to release version of UnitiPlayer winmd to debug the game) I'll check it again these days.
     
  4. elettrozero

    elettrozero

    Joined:
    Jun 19, 2016
    Posts:
    216
    I got this problem again and debugging is a pain in the back. I have to build the player to UWP IL2CPP scene by scene to see where the problem is.
     
  5. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,644
    Can we get a bug report on this? As you mentioned before, this will only happen in debug builds.