Crash on serializing invalid sorter filter list item

Guest shared this bug 2 years ago
Solved

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 (4)

photo
1

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

photo
1

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 :/

photo
1

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...

photo
photo
1

Hello, Engineers!


We're happy to inform you that the upcoming "203" update contains a fix for the bug you have reported. Thank you for taking your time to inform us about this issue and making Space Engineers better.


If you are still experiencing the bug on the new version, please let us know by commenting here or opening a new thread.


We are closing this thread as "Solved".


Kind Regards,

Keen Software House: QA Department

Leave a Comment
 
Attach a file