Assertion failed on expression: 'index < m_size'

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?

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.

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.

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.

Can we get a bug report on this? As you mentioned before, this will only happen in debug builds.