I'm getting bug with the editor when using copy and paste. It doesn't happen every time but a lot. When pasting my copied asset the new one changes the name but erases the old one. For instance dungeon_ceiling_0000_2 simply becomes dungeon_ceiling_0000_3. Hitting paste again after this crashes the editor giving me this in the log.
[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
Copy Paste Bug
Re: Copy Paste Bug
Does it happen with objects other than ceiling? The 12 or so ceiling pieces are all designed to fit a certain way, you may be creating a conflict.
- Soaponarope
- Posts: 180
- Joined: Thu Oct 04, 2012 3:21 am
Re: Copy Paste Bug
Yes it's happened with most all types of structural assets (walls, floors,etc.) I haven't copied much else.
Re: Copy Paste Bug
I got this with dungeon_wall_02 while trying to cover up the map edge in a corridor. It didn't crash, but it repeatedly deleted the copied wall. I ended up manually placing one nearby, and moved it into place.
Currently conspiring with many modders on the "Legends of the Northern Realms"project.
"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
- Eleven Warrior
- Posts: 752
- Joined: Thu Apr 18, 2013 2:32 pm
- Location: Australia
Re: Copy Paste Bug
Yep I also had the same probs as mysblade.. Oh and good to see you back mysblade
Man you are the answer to all mate. I love all your words of wisdom bro. 


- Soaponarope
- Posts: 180
- Joined: Thu Oct 04, 2012 3:21 am
Re: Copy Paste Bug
Surprised no one else is getting a crash though. Right now this bug is very frustrating for me cause I can't seem to copy and paste assets much at all and when trying to build unusual areas like underwater temples a large amount of wall/floor/ceiling assets are needed.(which I guess may be the problem)
-
- Posts: 168
- Joined: Thu Oct 30, 2014 1:56 am
Re: Copy Paste Bug
I get crashes when copy pasting floor/ceiling/or wall pieces too. So I just stopped doing that action. Copy paste seems to work fine for other things though.
Re: Copy Paste Bug
I've had this happen with ceilings, yes, but the crashes happen most often when dealing with invisible platforms.
Re: Copy Paste Bug
Soap, now I'm getting this error too, happened with a floor piece repeatedly. Another object also, I forget which. I either save before I try copy/paste, or just don't do it at all. It sometimes happens on the first paste or it might be on the fifth, unpredictable. 
