Script Errors: System.Collections.Generic.KeyNotFoundException

A null value was encountered where this forum description was required.
Post Reply
moonblub
Reactions:
Posts: 2
Joined: July 15th, 2023, 4:47 pm

Script Errors: System.Collections.Generic.KeyNotFoundException

Post by moonblub » July 15th, 2023, 5:24 pm

Helping a friend, that has a game that sometimes crashes and one of the script errors was this, and I can't figure out, what the problem is. Can someone help?:

<?xml version="1.0" encoding="utf-8"?>
<NRaas.ErrorTrap>
<ModVersion value="100"/>
<BuildVersion value="0.2.0.32"/>
<Installed value="BaseGame, EP1, EP2, EP4, EP5, EP6, EP7, EP8"/>
<Enumerator value="1"/>
<Content>


-- Script Errors --

No Proxy
Counter: 1
Sim-Time: Wed. at 12:04 PM
Start-Time: 07/14/2023 17:52:32
PreLoadup-Time: 07/14/2023 17:59:37
Loadup-Time: 07/14/2023 18:07:25
Log-Time: 07/14/2023 23:03:09

System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
#0: 0x00049 throw in System.Collections.Generic.System.Collections.Generic.Dictionary`2:get_Item (Sims3.SimIFace.CAS.OutfitCategories) (3EFACCA0 [2] )
#1: 0x00064 callvirt in Sims3.Gameplay.ActorSystems.Sims3.Gameplay.ActorSystems.AgingState:PreInstantiateSim (Sims3.SimIFace.ResourceKey&amp;) (05285980 [vt:45CAB48C] )
#2: 0x00034 ldloc.u1 in Sims3.Gameplay.CAS.Sims3.Gameplay.CAS.SimDescription:Instantiate (Sims3.SimIFace.Vector3,Sims3.SimIFace.ResourceKey,bool,bool) (31CCB000 [vt:45CAB45C] [vt:45CAB46C] [1] [0] )
#3: 0x00018 vtresult in Sims3.Gameplay.CAS.Sims3.Gameplay.CAS.SimDescription:Instantiate (Sims3.SimIFace.Vector3,Sims3.SimIFace.ResourceKey,bool) (31CCB000 [vt:45CAB3C4] [vt:45CAB3D4] [1] )
#4: 0x00014 vtresult in Sims3.Gameplay.CAS.Sims3.Gameplay.CAS.SimDescription:Instantiate (Sims3.SimIFace.Vector3,Sims3.SimIFace.ResourceKey) (31CCB000 [vt:45CAB324] [vt:45CAB334] )
#5: 0x00059 vtresult in Sims3.Gameplay.Services.Sims3.Gameplay.Services.Service:CreateNpcSim (Sims3.Gameplay.CAS.SimDescription,Sims3.SimIFace.Vector3) (30B9B620 [31CCB000] [vt:45CAB274] )
#6: 0x0017d vtresult in Sims3.Gameplay.Services.Sims3.Gameplay.Services.Service:CreateSim (Sims3.Gameplay.Core.Lot,Sims3.Gameplay.CAS.SimDescription) (30B9B620 [402E4920] [31CCB000] )
#7: 0x00025 stind.ref in Sims3.Gameplay.Services.Sims3.Gameplay.Services.Service:FindAssignmentOnLot (Sims3.Gameplay.Core.Lot,Sims3.Gameplay.Services.ServiceSituation&amp;,Sims3.Gameplay.Core.Lot&amp;,Sims3.Gameplay.Actors.Sim&amp;) (30B9B620 [402E4920] [45CAB11C] [45CAB120] [45CAB124] )
#8: 0x000eb stloc.u1 in Sims3.Gameplay.Services.Sims3.Gameplay.Services.FakeMetaAutonomy:FindAssignment (Sims3.Gameplay.Services.ServiceSituation&amp;,Sims3.Gameplay.Core.Lot&amp;,Sims3.Gameplay.Actors.Sim&amp;) (30B9B620 [45CAB11C] [45CAB120] [45CAB124] )
#9: 0x00014 brfalse.i4.s in Sims3.Gameplay.Services.Sims3.Gameplay.Services.Service:CheckForAssignment () ()
#10: 0x0000c ret.void in Sims3.Gameplay.Services.Sims3.Gameplay.Services.Service:Simulate () ()
#11: 0x00005 ret.void in Sims3.Gameplay.Services.Sims3.Gameplay.Services.FakeMetaAutonomy:Simulate () ()
#12: 0x00027 ldthis in Sims3.Gameplay.Services.Sims3.Gameplay.Services.Services:Simulate () ()
#13: 0x00027 leave.s in ScriptCore.ScriptCore.ScriptProxy:Simulate () ()



Loaded Assemblies:
28573011093883
31612627264690
31917047733732
65718581481022
73804277525751
78025744257503
AddingInteraction
AniBucketModModuleBucket
FireplaceTSM
GlobalOptionsSewingTable
NRaasErrorTrap: Version 100
NRaasHybrid: Version 10
NRaasMover: Version 28
NRaasPortraitPanel: Version 33
NRaasStoryProgression: Version 267
NRaasStoryProgressionCareer: Version 268
NRaasStoryProgressionExtra: Version 266
NRaasStoryProgressionMoney: Version 267
NRaasStoryProgressionPopulation: Version 267
NRaasStoryProgressionRelationship: Version 267
NRaasVector: Version 19
NRaasWoohooer: Version 129
NRaasWoohooerEiffelTower: Version 125
NRaasWoohooerToiletStall: Version 127
Nona_BreastfeedBaby
OffGridWaterMod
PregnancyVariation
ScriptCore
SewingTableSocials
SewingTable_Repaired
SimIFace
Sims3GameplayObjects
Sims3GameplaySystems
Sims3Metadata
Sims3StoreObjects
SimsMxHospitalOverhaul
Skydome_EveryoneCanCarryChild
StartupCheat
StoreObjectsFixerCar
StoreObjectsToyMachine
StoreObjectsTreeOfProsperity
System
System.Xml
ToddlerAskFor
Twinsimming_Steal_Simoleons_Mod_V2
UI
ani_Anvil
ani_BucketOfWater
ani_DigForTreasure
ani_DonationBox
ani_Farm
ani_Hunt
ani_Merchant
ani_RationBox
ani_Sweep
ani_TheWoodcuttersTree
ani_Whittle
ani_taxcollector
cmarXmods.PregnancyController
mscorlib
velocitygrass_AddAnyLotSize
</Content>
</NRaas.ErrorTrap>

User avatar
CardinalSims
Reactions:
Posts: 575
Joined: May 12th, 2021, 3:12 am
Answers: 13

Script Errors: System.Collections.Generic.KeyNotFoundException

Post by CardinalSims » July 15th, 2023, 9:58 pm

Not sure if it's related to this specific error, but the Hospital Overhaul by SimsMX is extremely outdated and not functional on the most recent patch level.
Enhanced Hospitals is considered the spiritual successor.

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7622
Joined: December 30th, 2011, 6:00 pm
Answers: 82
Contact:

Script Errors: System.Collections.Generic.KeyNotFoundException

Post by Chain_Reaction » July 16th, 2023, 5:31 am

Service Sim outfit corruption. Try installing Register and see if it helps. I'd also recommend Overwatch.

moonblub
Reactions:
Posts: 2
Joined: July 15th, 2023, 4:47 pm

Script Errors: System.Collections.Generic.KeyNotFoundException

Post by moonblub » July 16th, 2023, 5:42 am

Thank u, u too, I will let her know and we will see if it helps! :D

Post Reply