Page 1 of 1
[1.7.6] Crash on load in checkTileset
Posted: Thu Jun 13, 2024 1:44 pm
by visage
Even when disabling all but the official DLC addons, I'm seeing an error when loading a character save after starting up ToME4:
Code: Select all
ERROR:
Game version: tome-1.7.6
Addons: ashes-urhrok-1.7.4[O]
Lua Error: /engine/Tiles.lua:96: attempt to index a nil value
At [C]:-1 __index
At /engine/Tiles.lua:96 checkTileset
At /engine/Tiles.lua:127 get
At /mod/class/Actor.lua:962 alterMakeMapObject
At /engine/Entity.lua:487 makeMapObject
At /engine/Entity.lua:531 getMapObjects
At /engine/Map.lua:513 updateMap
At /engine/Map.lua:416 redisplay
At /engine/Map.lua:391 loaded
At /engine/Savefile.lua:575 delay
At /engine/Module.lua:1112 instanciate
At /engine/utils.lua:3000 showMainMenu
At /engine/init.lua:207
At [C]:-1 dofile
At /loader/init.lua:217
This occurs consistently for me, and even happens with a fresh character -- create character, start campaign, quit to OS, restart application, load save, then error occurs.
Re: [1.7.6] Crash on load in checkTileset
Posted: Thu Jun 13, 2024 4:20 pm
by Zizzo
Hmm… you say you have all your addons disabled, but how many do you have installed? Because that sounds kind of similar to
this bug.
Re: [1.7.6] Crash on load in checkTileset
Posted: Thu Jun 13, 2024 4:50 pm
by visage
Ooh, that's interesting. I've installed several dozen over the years, many disabled by default.
I suspect I'm encountering something else -- I don't think I actually have close to 100 addons, I don't see a crash on character creation, I had no error when I disabled everything -- but it's definitely worth taking the time to prune some addons I no longer use and see if that resolves things.
Thanks!
Re: [1.7.6] Crash on load in checkTileset
Posted: Thu Jun 13, 2024 5:10 pm
by visage
Ok, I went through and purged a bunch of addons... and unfortunately no change in behavior. The create character - save - quit - restart app - load save sequence still hits the same error.
Re: [1.7.6] Crash on load in checkTileset
Posted: Thu Jun 13, 2024 8:31 pm
by Moasseman
I wanna say this could be circumvented by launching as an admin? No clue what exactly is causing it tho
Re: [1.7.6] Crash on load in checkTileset
Posted: Sat Jun 15, 2024 3:08 pm
by visage
Moasseman wrote: ↑Thu Jun 13, 2024 8:31 pm
I wanna say this could be circumvented by launching as an admin? No clue what exactly is causing it tho
That does seem to be a workaround. Does its effectiveness suggest a better long-term solution? (My mind immediately goes to file permissions, but I'm running this on windows and am not familiar with what impact running as administrator has on that OS.)
Re: [1.7.6] Crash on load in checkTileset
Posted: Sat Jun 29, 2024 5:29 pm
by geroko
same issue for me on linux. can't load or start a new character. stopped working like 3 days ago
Code: Select all
Lua Error: /data/general/objects/world-artifacts.lua:24: attempt to index field 'state' (a nil value)
At [C]:-1 __index
At /data/general/objects/world-artifacts.lua:24 f
At /engine/Entity.lua:1262 loadList
At /engine/Entity.lua:1250 load
At /data/general/objects/objects.lua:22 loadIfNot
At /data/general/objects/objects.lua:85 f
At /engine/Entity.lua:1262 loadList
At /engine/Entity.lua:1250 load
At /data/general/objects/objects-far-east.lua:22 loadIfNot
At /data/general/objects/objects-far-east.lua:25 f
At /engine/Entity.lua:1262 loadList
At /engine/Entity.lua:1250 load
At /data/zones/temple-of-creation/objects.lua:21 f
At /engine/Entity.lua:1262 loadList
At /engine/Zone.lua:176 loadBaseLists
At /engine/Zone.lua:803 loaded
At /engine/Savefile.lua:516 loadWorld
At /engine/Module.lua:1093 instanciate
At /engine/utils.lua:3000 showMainMenu
At /engine/init.lua:207
At [C]:-1 dofile
At /loader/init.lua:217
Re: [1.7.6] Crash on load in checkTileset
Posted: Sat Nov 09, 2024 2:21 pm
by tsusungshi
Just wanted to contribute that I also experienced this bug, I worked around it by changing my tileset to ASCII so I could actually load my game. That not how I'd enjoy playing the game though. I confirmed that running as admin lets me keep using the modern tileset. The permissions issue may be restricted to that tileset.
Re: [1.7.6] Crash on load in checkTileset
Posted: Wed Nov 27, 2024 2:08 pm
by morernil
Hi all, I have the same issue, running is as admin doesn't help, changing tiles to Ascii removes the issue but i dont like that game mode.
Any suggestions pls ?
Edit:
I tried everything, from deleting world.teaw, to uninstalling and deleting all game files...Nothing worked

Also disabling any add-ons didn't help.
What did help in the end was for me to disabling '
Use tilesets' option in the Video Options menu.
Im not sure what effect disabling this setting have on the game but hey, it is working for me atm.
Re: [1.7.6] Crash on load in checkTileset
Posted: Wed Jan 07, 2026 1:08 pm
by visage
morernil wrote: ↑Wed Nov 27, 2024 2:08 pm
What did help in the end was for me to disabling '
Use tilesets' option in the Video Options menu.
Im not sure what effect disabling this setting have on the game but hey, it is working for me atm.
Returning to this thread for the first time in a while because someone posted on reddit with the same issue, and I find this solution, which worked for me. Thanks!