Quick Reply
Search this Thread
Test Subject
Original Poster
#1 Old 25th Nov 2024 at 11:39 PM
Default Old save is throwing exception all of a sudden
Hey everyone!

I haven't played the game in quite some time (more than 2 years!), so before I first started it up again, I installed all the updates and checked if there were any mod updates too. Back then there were no error or exceptions, even with mods, but now a new "lastException.txt" file (or the old one is overwritten) is created every time I load up the game and into my main save:
Quote:
unique_object_service failed to handle on_all_households_and_sim_infos_loaded due to exception (IndexError: list assignment index (0) out of range)

What I already tried:
  • Remove all the mods, restore a backup of the same save (just in case) - didn't help
  • Delete "avatarcache.package", "localthumbcache.package" and "Resource.cfg" - didn't help
  • Load an older save - didn't help. The only save that doesn't throw this exception is the very first one that was created after the sims moved in.
  • Press "play", create a new save, restart the game, then load that new save - no change
  • Repair the game - didn't help
  • Rename the "The Sims 4" folder, start the game, close it, copy a single old save into the "save" folder and load that - didn't help

My PC's definitely strong enough to run the game (Win 10, i9, GTX 1070, 32GB RAM). There are no crashes and I didn't notice anything weird when I pressed "play" but I really don't want to play and have to deal with bugs caused by this exception further down the line.

Any idea what could be causing this and how I can fix it?

Here's the full log ("infobutton" tag doesn't work, sorry):

Quote:
<?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>
Test Subject
Original Poster
#2 Old 27th Nov 2024 at 11:30 PM
Quote: Originally posted by Hatints
It sounds like you've tried most troubleshooting steps already. Have you checked if any mods are still causing conflicts, or tried starting with a completely clean user folder?
I removed all mods but the exception file was still created.
A completely clean user folder? What do you mean?
Test Subject
#3 Old 29th Nov 2024 at 4:46 PM
Have you tried BetterExceptions by TwistedMexi yet? The exception gets a little easier to understand if you use that mod. Maybe it can pinpoint you in the right direction? I do hope you'll be able to solve your issue
Test Subject
Original Poster
#4 Old 9th Dec 2024 at 11:21 PM
Quote: Originally posted by lion-magnus
Have you tried BetterExceptions by TwistedMexi yet? The exception gets a little easier to understand if you use that mod. Maybe it can pinpoint you in the right direction? I do hope you'll be able to solve your issue
Sorry about the delay!
I downloaded both that mod and the "always testing" one by the same creator and ran a scan: It didn't detect any mod conflicts (of course) and the exception summary says the same thing as the exception file:
Quote:
Possible Cause (Confidence: 10%): cpp_message
Reason: [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)
MCCC Version: Not Installed.
Mod Count: 0 packages, 1 scripts
I understand the "index of of range" part but what list is that?
Back to top