Lots of script errors

A null value was encountered where this forum description was required.
Post Reply
Naptune
Reactions:
Posts: 4
Joined: November 3rd, 2018, 11:06 pm

Lots of script errors

Post by Naptune » November 3rd, 2018, 11:10 pm

So I just reinstalled the game, was working fine besides a few crashes which I'm working on resolving. They are unrelated to this issue.

Upon loading my save, ErrorTrap gives me repeating script errors. In the log, they all say the following:

System.NullReferenceException: A null value was found where an object instance was required.
#0: 0x00005 ldfld.i4   in Sims3.Gameplay.Services.Sims3.Gameplay.Services.Service:GetMaxNumNPCsInPool () ()
#1: 0x0000d call       in Sims3.Gameplay.Services.Sims3.Gameplay.Services.Service:CheckIfSimShouldBeAddedToPool () ()
#2: 0x00004 call       in Sims3.Gameplay.Services.Sims3.Gameplay.Services.Service:Simulate () ()
#3: 0x00023 callvirt   in Sims3.Gameplay.Services.Sims3.Gameplay.Services.Services:Simulate () ()
#4: 0x00023 callvirt   in ScriptCore.ScriptCore.ScriptProxy:Simulate () ()

Any ideas on how to fix this? It was working fine before the game crashed and I reloaded my save.

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

Lots of script errors

Post by igazor » November 3rd, 2018, 11:18 pm

There are a number of things that can cause that error. Would it be possible if we could please get the entire script log (even if it looks redundant) or a few additional samples zipped together, uploaded to a third party file hosting site, and a link provided so we can take a look? The file upload mechanism on this, our new site, is not functional yet.

Naptune
Reactions:
Posts: 4
Joined: November 3rd, 2018, 11:06 pm

Lots of script errors

Post by Naptune » November 4th, 2018, 10:34 am


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

Lots of script errors

Post by igazor » November 4th, 2018, 8:28 pm

The world lot routing errors in the beginning do not look serious. These would be sims who were on their way someplace (to work, a bar) when the previous game session was saved. Adding the GoHere mod to your mix should help with that.

The looping Service Pool error looks more important as you said. Not immediately seeing the cause of that. It's reading as though there is a non-NRaas tuning mod not identifying itself in play that is outdated or malfunctioning. Could you try a test run with all non-NRaas mods removed and the scriptCache.package file cleared (deleted) to see if that changes things?

Our developer will have to comment if I am not interpreting this correctly.

Naptune
Reactions:
Posts: 4
Joined: November 3rd, 2018, 11:06 pm

Lots of script errors

Post by Naptune » November 4th, 2018, 8:54 pm

I think I found the culprit, I removed a mod that adds a gardener npc to hire, and I'm no longer getting errors. Thanks for the help!

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

Lots of script errors

Post by igazor » November 4th, 2018, 8:59 pm

Oh yes, I forgot about that one as I've never used it. It does tend to mess up the Service Pool calculations, good job in identifying it. I think others here still use that mod though, was the one you had its latest version?

Naptune
Reactions:
Posts: 4
Joined: November 3rd, 2018, 11:06 pm

Lots of script errors

Post by Naptune » November 4th, 2018, 9:53 pm

Yes, it was.

Post Reply