Assertion failed: (Index >= 0) & (Index < ArrayNum)

I have an identical problem but was caused when I removed material entries from GeometryCollection, I think :s
Did you find a solution?