Page 1 of 1

Crash While Editing

Posted: Sun Dec 02, 2018 10:24 am
by Minion222
Plain and simple, i was editing a map while i deleted all the rubish layers that were left after my previous attempt as to only have the solid layer, thereafter i wanted to take a look at the new fixed searchlight, i placed it down and the editor crashed.

Thankfully it asked me to save

Re: Crash While Editing

Posted: Sun Dec 02, 2018 11:32 am
by Gurt
Thanks a ton!
Helps us finally figure out how to replicate this error:

Error: ProcessMapEditorCommands failed.
System.Exception: Error: Could not process command LayerShow
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)

We could replicate it by adding some objects in two different layers, removing the layers and then trying to add the objects back again.

Re: Crash While Editing

Posted: Sun Dec 02, 2018 9:56 pm
by Gurt
Fixed in the current v.1.0.0e as a hotfix. Make sure your game is up-to-date.