A null value was found where an object instance was required.

A null value was encountered where this forum description was required.
Samasaddam
Reactions:
Posts: 5
Joined: October 27th, 2023, 2:28 pm

A null value was found where an object instance was required.

Post by Samasaddam » October 28th, 2023, 9:53 am

I’m facing an error but I don’t know where to post. unable to obtain an interaction objectA null value was found where an object instance was required.
  1. 0x00003 ldfld.o in Siss.Gamoplay.5casons.simss.Gamoplay.scasons.SoasonsMangorgct Curenteatheroo
  2. 0x00044 call
in SimStateDudesSimState.SimStateDudes SimStato.PoworSurges:SurgeManager 0 0#2:0x00000in Sims3 Gameplay.Utilitios.Sims3.Gamoplay.Utilltios AlamTimerCallback:Invoke 0 0
  1. 0x00013 callvirt in Sims3.Gameplay.Utillties Sims3 Gameplay.Utlitios AlanManager Simulate 0 0
  2. 0x00005 callvirt
in Sims3.Gameplay.Coro.Sims3.Cameplay.Com.LotSimulateDU#5: 0x00027 leave.sin ScriptCore ScriptCore ScriptProg:Simulate 0 0

User avatar
C-Dark
Reactions:
Posts: 2640
Joined: January 5th, 2012, 6:00 pm
Answers: 24
Location: Berlin (Germany)

A null value was found where an object instance was required.

Post by C-Dark » October 28th, 2023, 10:26 am

Can you please provide the full error, you can drag and drop the file onto the text box
Claudy ;-) Bookworm, Cat Person, Computer Whiz, Couch Potato, Eco-Friendly, Friendly, Frugal, Genius, Nurturing, Social butterfly, Supernatural fan, Virtuoso in the past, Workaholic, Brooding, No Sense of Humor

Samasaddam
Reactions:
Posts: 5
Joined: October 27th, 2023, 2:28 pm

A null value was found where an object instance was required.

Post by Samasaddam » October 28th, 2023, 11:35 am

<?xml version="1.0" encoding="UTF-8"?>

-<ScriptError MaxRecursionDepth="0" Type="MiniScriptError" Version="6">

<ExceptionData>simulating object is null unable to obtain an interaction object A null value was found where an object instance was required. #0: 0x00003 ldfld.o in Sims3.Gameplay.Seasons.Sims3.Gameplay.Seasons.SeasonsManager:get_CurrentWeather () () #1: 0x00044 call in SimStateDudes_SimState.SimStateDudes_SimState.PowerSurges:SurgeManager () () #2: 0x00000 in Sims3.Gameplay.Utilities.Sims3.Gameplay.Utilities.AlarmTimerCallback:Invoke () () #3: 0x000f3 callvirt in Sims3.Gameplay.Utilities.Sims3.Gameplay.Utilities.AlarmManager:Simulate () () #4: 0x00005 callvirt in Sims3.Gameplay.Core.Sims3.Gameplay.Core.Lot:Simulate () () #5: 0x00027 leave.s in ScriptCore.ScriptCore.ScriptProxy:Simulate () () </ExceptionData>


-<GameData>

<BuildType>Release Mono</BuildType>

<CommandLine>C:\Program Files (x86)\Origin Games\The Sims 3\Game\Bin\TS3.exe</CommandLine>

<Game_Version>1.69.43.024017</Game_Version>

<Code_Version>0.XL-2.0.32</Code_Version>

<Content_Version>1.Content.rl.41</Content_Version>

<Thumbnail_Version>1.Thumbnail.dl.933</Thumbnail_Version>

<TCC_Version>1.TCC.dl.1209</TCC_Version>

<Build_Version>0.2.0.32</Build_Version>

<Type>Release</Type>

<Timestamp>2015-1-6-0801</Timestamp>

<CPU_Level>High</CPU_Level>

<GPU_Level>Uber</GPU_Level>

<Game_Start>2023-10-28 15:49:46</Game_Start>

<Data>C:\Program Files (x86)\Origin Games\The Sims 3\/GameData\</Data>

<Overrides>(none)</Overrides>

<Exe_Path>C:\Program Files (x86)\Origin Games\The Sims 3\Game\Bin\</Exe_Path>

<User>lenovo</User>

<Host>DESKTOP-LR950JN</Host>

</GameData>

</ScriptError>

Samasaddam
Reactions:
Posts: 5
Joined: October 27th, 2023, 2:28 pm

A null value was found where an object instance was required.

Post by Samasaddam » October 28th, 2023, 11:35 am

do you mean this one? if not i am not sure what file you mean

User avatar
igazor
Organizer
Reactions:
Posts: 17151
Joined: April 8th, 2013, 6:00 pm
Answers: 206
Location: Everyone should strive to find their inner platypus.

A null value was found where an object instance was required.

Post by igazor » October 28th, 2023, 12:36 pm

In the future, please create new message threads for new issues instead of tacking onto one from years ago that really isn't related. I've split this conversation off into a new thread.

The mod that is throwing this error is one from SimStateDude. Perhpas the Off the Grid mod, but it's one that is trying to manage sims' electrical power usage.. Are you possibly trying to run it without the Seasons EP present? It's trying to determine the current weather conditions, but without the EP there is no defined weather. In any event, try removing the mod, clear (delete) the scriptCache, and see if that solves the problem.

Samasaddam
Reactions:
Posts: 5
Joined: October 27th, 2023, 2:28 pm

A null value was found where an object instance was required.

Post by Samasaddam » October 28th, 2023, 1:06 pm

sorry to bother you but do i just right click and delete the mod or is their a specific way to do it
and also is this the mod: SimStateDudes_SimState_Release_V1.2
another question, where can i find the scriptcache

User avatar
igazor
Organizer
Reactions:
Posts: 17151
Joined: April 8th, 2013, 6:00 pm
Answers: 206
Location: Everyone should strive to find their inner platypus.

A null value was found where an object instance was required.

Post by igazor » October 28th, 2023, 1:14 pm

Just remove the mod from where it is within Mods\Packages. You can delete it entirely or just slide it out onto your desktop or into some other location outside of your game folder if you want to try using it again at a later time. I don't know how SimsStateDude names his mods.

The scriptCache file is one of five cache files on the top level of your TS3 user game folder in Documents. These files should be cleared (deleted) whenever the contents of Mods\Packages changes in any way. Some of us clear (delete) all five before we start up the game every time. They will rebuild themselves automatically the next time the game starts up. When we add or remove things from Mods\Packages (or Overrides), the caches can become stuck with what becomes stale data or remnants of things removed.

I'm referring to these five files, and just these. Not any folders that happen to have the word "cache" in their names.

CasPartCache.package
compositorCache.package
scriptCache.package (this is the important one when it comes to Script Mods added, updated, or deleted)
simCompositorCache.package
socialCache.package (this one is optional)

The files may or may not show with the ".package" suffix on their names depending on whether you have your operating system set to display file name extensions, but they are the same files either way.

Samasaddam
Reactions:
Posts: 5
Joined: October 27th, 2023, 2:28 pm

A null value was found where an object instance was required.

Post by Samasaddam » October 28th, 2023, 1:41 pm

Thank you soooo much. It worked

ririnee
Reactions:
Posts: 4
Joined: January 18th, 2024, 3:16 am

A null value was found where an object instance was required.

Post by ririnee » January 18th, 2024, 3:23 am

My problem with simstate is that i deleted the mod a long time ago and deleted cache files too, but everytime im in game, the same scripterror occur and i have a welcome message in the right bar like "welcome to simstate". Also i have a simstate page in lessons (idk how it is in english).
How can i delete this mod completely?

User avatar
Knight
Reactions:
Posts: 390
Joined: October 28th, 2018, 3:28 am
Answers: 13

A null value was found where an object instance was required.

Post by Knight » January 18th, 2024, 4:10 am

ririnee wrote:
January 18th, 2024, 3:23 am
My problem with simstate is that i deleted the mod a long time ago and deleted cache files too, but everytime im in game, the same scripterror occur and i have a welcome message in the right bar like "welcome to simstate". Also i have a simstate page in lessons (idk how it is in english).
How can i delete this mod completely?
I assume you still have the mod file somewhere. For the latest version its default name is SimStateDudes_SimState_Release_V1.4_WITH_UI.package or SimStateDudes_SimState_Release_V1.4_WITHOUT_UI.package depending on which version you installed.

Post Reply