Skip to content

EddyEditor - NPC selection crashes #102

Description

@maYayoh
(22:49:17.445) INFO [ResourceService] Loaded animations - Character Animations/squirrel
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at ImGuiNET.ImGuiX.EditableList[T](String label, Dirty`1& items, RenderItem`1 renderItem, Func`1 createNew)
   at FezEditor.Components.Eddy.NpcContext.DrawProperties()
   at FezEditor.Components.EddyEditor.Draw()
   at FezEditor.Components.MainLayout.DrawEditor(EditorComponent editor)
   at FezEditor.Components.MainLayout.Draw(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Draw(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.Game.RunLoop()
   at Microsoft.Xna.Framework.Game.Run()
   at FezEditor.FezEditor.Main(String[] args)
Segmentation fault

I added a Squirrel to my level, and the preview works, but when selecting the squirrel (because I wanted to move it), the editor crashes.
I haven't tried all NPCs, but it did crash with the owl and tit NPC too (the only difference in the logs being the "Loaded animations" message).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions