Tabletop Simulator

Tabletop Simulator

View Stats:
Fradley110 Sep 23, 2021 @ 7:42am
How to delete unloaded items
So I added a few decorative items onto a table, at the time some of the objects I tried adding in from a mod failed to load and I didn’t think anything of it. However everytime I load the game it tries to load them up, and they’re invisible/not there. Is there a way I can find them to delete them so it doesn’t give me that error message every time?
< >
Showing 1-6 of 6 comments
Finaryman Sep 23, 2021 @ 9:08am 
does message contain guid of them. if yes open ~ console and type
lua for _, myguid in ipairs({"GUID1","GUID2"}) do getObjectFromGUID(myguid).destruct() end
listing all of the guids seperating them with , and inside " "
Baryonyx Sep 23, 2021 @ 5:34pm 
Finaryman, your idea is great, but I think the error message does not show the GUID.

I've had the problem before myself. If the above indeed does not work, you can copy the dead link of whatever object it is that fails to load, then access your save folder on your drive and open the .json save file with a text editor. Search for the dead link and once you find it, take it and the rest of the part out of the file. Then save the file, reload the save ingame and it should be gone.

If you want to be safe, make a backup of the file beforehand and instead of deleting the object in the file, replace the broken link with something that you know works, so it will appear again ingame and you can delete it. Worst case then if you still can't find it, it will just stop bothering you with a message.
Finaryman Sep 25, 2021 @ 6:01am 
Last edited by Finaryman; Sep 25, 2021 @ 6:01am
Fradley110 Sep 26, 2021 @ 7:49am 
Cheers fellas, sorted it
Man's Best Friend Sep 26, 2021 @ 7:57am 
I wonder if this could be simplified with scripting to get it automatically. There's a variable "spawning" which tells you if an object is finished spawning. Question is, does it remain false if the object fails to load? There's also "loading_custom" which tells you if the custom elements of an object are loading. Perhaps one or both of these could be used to find broken objects.
Finaryman Sep 26, 2021 @ 8:12am 
spawning event does not get called on object load

i think.
Last edited by Finaryman; Sep 26, 2021 @ 8:12am
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Sep 23, 2021 @ 7:42am
Posts: 6