Assertion failed: (size <= Capacity())

Every once in a while, when I build my project from the editor and try to load a level (by clicking on it from the level select), the game crashes and I get this from the console:

Assertion failed: (size <= Capacity()), function SetSize, file /Users/runner/runners/2.164.0/work/defold/defold/tmp/dynamo_home/sdk/include/dmsdk/dlib/array.h, line 444.
INFO:CRASH: Successfully wrote Crashdump to file: /Users/potota/Library/Application Support/Defold/_crash
ERROR:CRASH: CALL STACK:

# 0 pc    0x2a94b3d libcompression.dylib _sigtramp+29

It seems to happen at random, so I haven’t been able to use the debugger and find out what line of code causes it. I can send the crash dump and/or MacOS’ Problem Report output if needed.

MacOS Mojave 10.14.2
17%20PM

Yes, please do! Also share a list of dependencies you have in your project.

I’ll send both of them your way soon. These are all the dependencies for my project:

https://github.com/britzl/defold-orthographic/archive/2.9.2.zip
https://github.com/subsoap/defstring/archive/master.zip
https://github.com/britzl/monarch/archive/3.0.2.zip
https://github.com/britzl/defold-input/archive/2.5.1.zip