Copy/Paste Editor Crash
Posted: Fri Feb 17, 2017 10:01 pm
Hi all. Got an issue blocking my progress on my mod. I was building away on one of my dungeon floors, but I tried copying a particular object but it wouldn't happen. No matter how many times I pressed ctrl+c/ctrl+v nothing happened. But then the editor crashed. I tried a few more times, and the same bug keeps happening, but it only happens with a few custom assets. The assets have no issues with them, I've used them many times in other parts of the dungeon, but suddenly they started causing this crash when I try to copy/paste them. It only happens on that one specific floor with that one specific object. When it crashes I get this message:
What causes this? I've not had this happen before. I even checked the dungeon file for any 'phantom' objects or something, lol. Should I just scrap the dungeon floor and make it afresh, or is there a fix? Cheers, guys.
SpoilerShow
=== Software Failure ===
[string "GameObject.lua"]:0: attempt to index field 'map' (a nil value)
stack traceback:
[string "GameObject.lua"]: in function 'destroy'
[string "Map.lua"]: in function 'removeWall'
[string "Arch.lua"]: in function 'spawn'
[string "DungeonEditor.lua"]: in function 'spawn'
clipboard:1: in main chunk
[string "DungeonEditor.lua"]: in function 'pasteEntities'
[string "DungeonEditor.lua"]: in function 'mapView'
[string "DungeonEditor.lua"]: in function 'update'
[string "Grimrock.lua"]: in main chunk
[string "GameObject.lua"]:0: attempt to index field 'map' (a nil value)
stack traceback:
[string "GameObject.lua"]: in function 'destroy'
[string "Map.lua"]: in function 'removeWall'
[string "Arch.lua"]: in function 'spawn'
[string "DungeonEditor.lua"]: in function 'spawn'
clipboard:1: in main chunk
[string "DungeonEditor.lua"]: in function 'pasteEntities'
[string "DungeonEditor.lua"]: in function 'mapView'
[string "DungeonEditor.lua"]: in function 'update'
[string "Grimrock.lua"]: in main chunk