Pages: 1
Posted on 05-09-13, 10:54 am
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 3306/4457
Since: 06-08-11
eXcavator on IRC pointed out to me this crash when moving multiple objects at once.
I haven't been able to reproduce it on Mono but it's supposedly happening on Windows.

************** Exception Text ************** System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) at System.Collections.Generic.List`1.Enumerator.MoveNextRare() at System.Collections.Generic.List`1.Enumerator.MoveNext() at NSMBe4.ObjectsEditionMode.MouseDrag(Int32 x, Int32 y) at NSMBe4.LevelEditorControl.DrawingArea_MouseMove(Object sender, MouseEventArgs e) at System.Windows.Forms.Control.WmMouseMove(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Posted on 05-09-13, 12:58 pm
Roy Koopa


Karma: 4011
Posts: 2454/2722
Since: 06-26-11
It happens when moving multiple kind of things in the level. For example Objects and Entrances or Objects and Sprites, etc.
_________________________
See a lots of creative DS Hacking here
If you want to support me, you might check out my Patreon Page : )
Posted on 05-09-13, 06:14 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 3307/4457
Since: 06-08-11
I'm now trying on Windows...
And I can't reproduce it either
Posted on 05-09-13, 06:44 pm
Death by cuteness

Karma: 6564
Posts: 8/598
Since: 05-01-13
It seems to happen when at least one of the selected objects have a coordinate (X and/or Y, doesn't matter) not divisible by 16.
Posted on 05-09-13, 06:45 pm


Karma: 3752
Posts: 1837/2112
Since: 06-28-11
I can reproduce that. Select all in a level. The level must have at least one entrance in it that gets selected too. Then try to move all the tiles.
Posted on 05-09-13, 07:14 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 3308/4457
Since: 06-08-11
Okay, I got it reproduced now. I'll try to fix it.
It was a bit tricky to reproduce... it doesn't always happen
Posted on 05-09-13, 11:10 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 3309/4457
Since: 06-08-11
Fixed in build 375
Pages: 1