Forum Discussion

Nathipha's avatar
Nathipha
Seasoned Rookie
5 months ago

Exception: "unique_object_service failed to handle..."

I last played Sims 4 three years ago and only installed the latest updates in November (did another update just now). Whenever I load my family, there's an exception, with the main error message being:


unique_object_service failed to handle on_all_households_and_sim_infos_loaded due to exception (IndexError: list assignment index (0) out of range)


I already ran a repair and deleted the "avatarcache.package", "localthumbcache.package" and "Resource.cfg" files but none of that fixed it. There are no mods (not even objects or CAS stuff) and I didn't notice any weird behavior, apart from the error.


It doesn't matter if I exit the game completely, exit to the main menu or exit to "manage worlds" before I reload the save, the exception appears every time I load the household and it either creates a new error file (if I restart the game) or attaches the same error message to the already existing file. I already tried to create a new save with "save as", then load it from the main menu but the exception is still thrown.


I've got a couple of old saves and I tested each one: The only one that doesn't cause that error was created pretty much directly after the family had moved into their very first apartment after creating them (a long time ago!). None of the other families are affected but this is the only household I was actively playing and I'd rather not lose it.


None of the saves caused any exceptions when I last played! What's going on here, what's causing the error and how do I fix it?

It won't let me attach the file ("The attachment's lastexception.txt content type (text/plain) does not match its file extension and has been removed"), so here's the full error:

Spoiler

<?xml version="1.0" ?><root>
<report><version>2</version><sessionid>ed80de1cf08d591c674503f9</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2024-11-26 00:12:18</createtime><buildsignature>Local.Unknown.Unknown.1.110.311.1020-1.300.000.196.Release</buildsignature><categoryid>cpp_message.py:167</categoryid><desyncid>ed80de1cf08d591c674503f9</desyncid><systemconfig/><screenshot/><desyncdata>[manus] unique_object_service failed to handle on_all_households_and_sim_infos_loaded due to exception (IndexError: list assignment index (0) out of range)
Traceback (most recent call last):

File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 130, in wrapped
File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 126, in finally_wrap
File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 157, in wrapper
File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 175, in wrapper
File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 383, in c_api_client_connect
File "T:\InGame\Gameplay\Scripts\Server\zone.py", line 609, in do_zone_spin_up
File "T:\InGame\Gameplay\Scripts\Server\zone_spin_up_service.py", line 1682, in update
File "T:\InGame\Gameplay\Scripts\Server\zone_spin_up_service.py", line 290, in on_enter
File "T:\InGame\Gameplay\Scripts\Server\game_services.py", line 38, in on_all_households_and_sim_infos_loaded
File "T:\InGame\Gameplay\Scripts\Core\sims4\service_manager.py", line 454, in on_all_households_and_sim_infos_loaded
File "T:\InGame\Gameplay\Scripts\Server\unique_object\unique_object_service.py", line 31, in on_all_households_and_sim_infos_loaded
File "T:\InGame\Gameplay\Scripts\Server\unique_object\unique_object_service.py", line 71, in _enforce_uniqueness_on_household_inventory_objects
File "T:\InGame\Gameplay\Scripts\Server\unique_object\unique_object_component.py", line 82, in enforce_uniqueness
File "T:\InGame\Gameplay\Scripts\Server\unique_object\unique_object_component.py", line 71, in _get_stored_sim_info
File "T:\InGame\Gameplay\Scripts\Server\objects\components\stored_sim_info_component.py", line 378, in get_stored_sim_id_from_object_data
File "T:\InGame\Gameplay\Scripts\Core\google\protobuf\internal\cpp_message.py", line 167, in __getitem__
IndexError: list assignment index (0) out of rangertim=0
Client Session Time: 13.13

Num Save Errors: 0
Num Load Errors: 0
Current Game State: 0x96d01090
LoadingScreenActiveFlag: 1
Origin Version: 13,340,0,5853
Modded: False
SystemInfo: Windows 10 10.0.19045 GPU: NVIDIA GeForce GTX 1070 32.0.15.6094, GUID: EDITED
</desyncdata></report></root>

5 Replies

  • @Nathipha To be sure, the family does load and you just get an exception or can you also not load the family ?
  • Nathipha's avatar
    Nathipha
    Seasoned Rookie
    4 months ago

    @crinrict 

    Sorry about the delay!

    The family loads, yes, but there's an exception every time (even in really early saves that were loading just fine before the update), so I haven't played with them yet.

  • crinrict's avatar
    crinrict
    Hero+
    4 months ago
    @Nathipha

    Would you be willing to share your save with me ?

    If so, please zip your saves folder and upload it somewhere like dropbox, googledrive or OneDrive and PM me the link.
  • simmireen's avatar
    simmireen
    Seasoned Scout
    4 months ago

    I have exactly the same problem, did you manage to get it fixed?