This object is in archive! 

Crash on serializing invalid sorter filter list item

Viktor Ferenczi shared this bug 7 months ago
Reported – Awaiting fix

Game: 1.200.027

Problem: Server side exception and client kicked on trying to load a blueprint.

Exception occurred: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at VRage.ObjectBuilders.SerializableDefinitionId.VRage_ObjectBuilders_SerializableDefinitionId<>m_binaryTypeId<>Accessor.Set(SerializableDefinitionId& owner, UInt16& value)
Attached both server and client side logs of a quick session which reproduced the issue.

Reproducibility: 100%

How to reproduce:

Dedicated Server (with no plugins) running a super simple test world with a batter block, a rotor and a small projector on it (see attached).

Client (with no plugins) connects to it and attempts to load a blueprint of a single small block grid (see attached).

Root cause:

Deserialization of the binary serialized blueprint data fails on server side.

Failure has been tracked back to invalid [null]/Ice items and [null]/Stone items in a sorter's filter list.

These bogus items were added by a PB script according to the BoompaBlubbah, the player who generously gave me the blueprint for the bug reproduction and helped with information and testing while narrowing down this bug.

Replies (3)


Hello, Viktor!

Thank you for your structured report and attachments! That was really helpful. I reproduced this issue and reported it internally to our programmers to fix it.

Kind regards,

Keen Software House, QA Department


I've just encountered this same issue when trying to update my AiEnabled mod to automatically filter my mod-created components into the RoboFactory block.

Hopefully this will soon be fixed, though given it's been three months I would have expected it to make it into any of the last several updates :/


Keen does not fix the issue even if it is reproducible and pretty deeply debugged already. They know what they are doing. I've already given up...

Leave a Comment
Attach a file