Wow, yeah we are getting different errors. Well I just exported my dungeon right now and it puked on the save issue. I guess I have more annoying work again to fix it. I always get this error:minmay wrote:Really? All I ever saw was:MrChoke wrote:The stack trace gives nothing on the source of the bad variable. The message itself always talks about "cannot concatenate ID... etc", never giving the ID of the variable giving problems. You get nothing to help you find the source. I don't even think it says the word "serialized". So basically Minmay, I don't know what you are talking about when you say it tells you anything.
"cannot serialize variable of type X"
"cannot serialize table with metatable"
"cannot serialize function with upvalues"
etc..
Can you give me an example of a case where it gives "cannot concatenate..."?
Code: Select all
=== Software Failure ===
[string "Script.lua"]:0: attempt to concatenate field 'id' (a nil value)
stack traceback:
[string "Script.lua"]: in function 'saveValue'
[string "Script.lua"]: in function 'saveValue'
[string "Script.lua"]: in function 'saveState'
[string "GameObject.lua"]: in function 'saveState'
[string "Map.lua"]: in function 'saveState'
[string "GameMode.lua"]: in function 'saveGame'
[string "SaveGameMenu.lua"]: in function 'update'
[string "GameMode.lua"]: in function 'update'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]: in main chunk