Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSMapStudio Crashing upon duplicating an enemy #950

Open
kurasahakai opened this issue Sep 14, 2024 · 0 comments
Open

DSMapStudio Crashing upon duplicating an enemy #950

kurasahakai opened this issue Sep 14, 2024 · 0 comments

Comments

@kurasahakai
Copy link

kurasahakai commented Sep 14, 2024

As per title, DSMapStudio will crash if I try to duplicate an enemy of any kind, in any place of the map in DSR.

EDIT: this also appears to be happening upon doing Create -> Parts -> Enemy, but not for Objects
Downgrading to DSMapStudio 1.10.0 works fine.

Full Crash Log:

DSMapStudio Version 1.11.1

Value cannot be null. (Parameter 'destinationArray')

at System.Array.Copy(Array, Array, Int32)
at StudioCore.MsbEditor.Entity.DeepCopyObject(Object obj) in ./src/StudioCore/MsbEditor/Entity.cs:line 284
at StudioCore.MsbEditor.Entity.Clone() in ./src/StudioCore/MsbEditor/Entity.cs:line 306
at StudioCore.MsbEditor.MapEntity.Clone() in ./src/StudioCore/MsbEditor/Entity.cs:line 1458
at StudioCore.MsbEditor.CloneMapObjectsAction.Execute() in ./src/StudioCore/MsbEditor/Action.cs:line 390
at StudioCore.MsbEditor.ActionManager.ExecuteAction(Action a) in ./src/StudioCore/MsbEditor/ActionManager.cs:line 55
at StudioCore.MsbEditor.MsbEditorScreen.OnGUI(String[] initcmd) in ./src/StudioCore/MsbEditor/MsbEditorScreen.cs:line 989
at StudioCore.MapStudioNew.Update(Single deltaseconds) in ./src/StudioCore/MapStudioNew.cs:line 1343
at StudioCore.MapStudioNew.Run() in ./src/StudioCore/MapStudioNew.cs:line 368
at DSMapStudio.Program.Main(String[]) in ./src/Studio.App/DSMapStudio/Program.cs:line 36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant