Forum Discussion

Nathipha's avatar
Nathipha
Seasoned Newcomer
5 days ago

Exception: "unique_object_service failed to handle..."

I last played Sims 4 three years ago and only installed the latest updates about a week ago. Whenever I load my family, there's an error that creates a new "lastException.txt" file (attached) 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.

The exception only appears the first time I load a save after restarting the game. If I load a save, then go back to the main menu and load another save, it doesn't create a second exception file. 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 saves caused any exceptions when I last played! What's going on here, what's causing the error and how do I fix it?

  • Nathipha  Sims 4 has changed so much in the last three years, it's impossible to say exactly why this is happening to your old saves.  But one question is, can you load the household and play it forward without any obvious issues?  If not, can you try a double load (get the error, reload the household without exiting)?  It's possible this problem is self-correcting enough that it won't affect your ability to play the sims.

    If you can't load your main household, can you load a different one within the same save?  You might be able to play them for a bit and then go back to your main sims.

    • Nathipha's avatar
      Nathipha
      Seasoned Newcomer

       puzzlezaddict I didn't notice any problems when I unpaused the game for a minute but I really don't want to continue playing for a while, having it create a new error file every time and running into a big problem further down the line.

      "Double load", as in load the same save again without exiting to the main menu?

      I did try the following: Load the household, create a new save file without pressing "play" (always starts paused), restart the game, then load the new save but this still created a new exception file.

      No idea why it didn't attach the full file, hopefully it'll work this time: Edit: Didn't work again, here's the full thing (sorry):

      <?xml version="1.0" ?><root>
      <report><version>2</version><sessionid>31c74262665c9b3c673fc0dc</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2024-11-22 01:04:05</createtime><buildsignature>Local.Unknown.Unknown.1.110.311.1020-1.300.000.196.Release</buildsignature><categoryid>cpp_message.py:167</categoryid><desyncid>31c74262665c9b3c673fc0dc</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: 18.41
       
      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>

       

  • Nathipha  If you can load and play the household, a double load isn't necessary; that's only for when you try to load and get kicked back to Manage Worlds.  (In that case, the "double" part is reloading the same household from Manage Worlds right away, which helps some of the time.)  I understand not wanting the errors to pile up, but it is useful to know whether this is a one- or two-time occurrence or the error keeps showing up indefinitely.

    Please also let me know whether it helps to get the error once or twice, "save as," exit, and reload.