This forum is locked and will eventually go offline. If you have feedback to share you can find us in our Discord channel "MythoLogic Interactive" https://discord.gg/nECKnbT7gk

Forum rules

Crash While Editing

Here you can find all solved gameplay problems and bugs (beginning from Pre-Alpha 1.8.8).
Forum rules
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
Locked
User avatar
Minion222
Fighter
Fighter
Posts: 19
Joined: Mon Feb 12, 2018 9:26 pm
Title: Overly White Min
SFD Account: Minion222
SFD Alias: @Minion
Started SFD: Pre-Alpha 1.7.0
Location: Slavland
Gender:

Crash While Editing

Post by Minion222 » Sun Dec 02, 2018 10:24 am

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
Last edited by Minion222 on Sun Dec 02, 2018 1:07 pm, edited 1 time in total.
2 x
Ight i guess this is my signature now

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1887
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 36

Post by Gurt » Sun Dec 02, 2018 11:32 am

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.
2 x
Gurt

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1887
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 36

Post by Gurt » Sun Dec 02, 2018 9:56 pm

Fixed in the current v.1.0.0e as a hotfix. Make sure your game is up-to-date.
1 x
Gurt

Locked