Dedicated server crashes when calling addCuratorEditableObjects [allUnits, true]; when some units in allUnits may be null objects or objects whos locality system is not valid.
{F25338} {F25339}
Dedicated server crashes when calling addCuratorEditableObjects [allUnits, true]; when some units in allUnits may be null objects or objects whos locality system is not valid.
{F25338} {F25339}
Server crashes.
Crash dump attached.
Hello,
I was trying but could not reproduce the problem. Is it possible to upload a simple mission?
Thank you very much.
I've narrowed this down to executing addCuratorEditableObjects when an object is null but not completely deleted yet. This happens when players become out of sync and a null object persists on a client which does not exist on the server.
I cannot reliable reproduce this, but it does reproduce sometimes with the attached mission.
Further testing: It is definitely when an invalid object exists that this will cause a crash. Basic testing is to play a large MP game until you are receiving "Object not found" errors, then run the command on that object. It will crash.
Assuming a null dereference in addCuratorEditableObjects on an invalid object.
That issue recently came up on official zeus servers. It was fixed within 2 days of being reported to me. I don't know what went wrong here 5 years ago, but something certainly did.