Windows nullreferenceexception object reference not set to an instance of an object

m3m3nto

Refugee
Hello!
I have a bug where I'm riding my bike in a direction and suddenly the Console throws this error: "nullreferenceexception object reference not set to an instance of an object" deleting and regenerating the save file main.ttv + reloading it doesn't work!

(LOG file: https://justpaste.it/jtu31 )
 

Attachments

  • 0.jpg
    0.jpg
    277 KB · Views: 1
1. Intel CPU with fake processors. See the Pinned thrad for that.

2. That is a crapload of mods. Most likely you are going to have a compatibility issue.

3. Yep. Problems with the mods. You have errors before you even get as far as loading the save.

Sorry, can't help more than that. I'm not going to support you installing 50 different mods that conflict with each other.
 
I also tried removing the mods one by one but that didn't fix it (there were mods that would have reset the save so I didn't test them)
If it's not a mod, what else could be the problem?
 
I also tried removing the mods one by one but that didn't fix it (there were mods that would have reset the save so I didn't test them)
If it's not a mod, what else could be the problem?

I hope you mind me butting in...

Code:
2025-07-21T21:33:54 57.901 ERR Block PictureFrameRabbit is found multiple times, overriding with latest definition!
2025-07-21T21:33:54 57.983 ERR Block AndysGunworksPrefab is found multiple times, overriding with latest definition!
2025-07-21T21:33:54 58.017 ERR Block TacoShellPrefab is found multiple times, overriding with latest definition!
2025-07-21T21:33:54 58.018 ERR Block TacoShell2Prefab is found multiple times, overriding with latest definition!
2025-07-21T21:33:54 58.018 ERR Block TacoShell3Prefab is found multiple times, overriding with latest definition!
2025-07-21T21:33:54 58.018 ERR Block BeePeePrefab is found multiple times, overriding with latest definition!

... that's definitely a mods issue. Those are custom blocks and more than one mod seems to be trying to add them.

This mod is trying to modify XML that has changed since the last version. It won't work.

Code:
2025-07-21T21:34:29 93.031 WRN XML patch for "item_modifiers.xml" from mod "IZY_RMP_SG" did not apply: <append xpath="/item_modifiers/item_modifier[@name='IZYgunT3TradshotgunTrenchGunM1897']"  (line 13 at pos 3)

Then this...

Code:
2025-07-21T21:34:59 122.733 ERR Could not load file '@:Entities/Zombies/Prefabs/ZSoldierRadiated.prefab' for entity_class 'ZombieStalkerVetern'
2025-07-21T21:34:59 122.814 INF [DECO] written 216757, in 22ms
2025-07-21T21:34:59 122.820 INF [DECO] write thread 5ms
NullReferenceException: Object reference not set to an instance of an object
  at EModelBase.CrouchUpdate (EntityAlive _ea) [0x00000] in <90e69297911242af884a7d84e61a7b7f>:0
  at EModelBase.LateUpdate () [0x0002e] in <90e69297911242af884a7d84e61a7b7f>:0

... is something related to a mod that did something with zombies and there's a problem with the new Crouch. For instance, maybe you're using a custom zombie and it doesn't have an asset for the game to use to show it crouching.

Overall, if nothing else, I'd be checking all of your installed modlets for a 2.0 compatible version. Any modlet stuck on a 1.0 version is a suspect. I regret that's a manual effort on your part. In the future I hope Steam Workshop integration will provide us all some relief. I hope I've helped in some way.
 
Ohh thanks for the help zztong. I'll see which mod it could be then (I tried to bring it up again on a new save on the same level but it didn't work so I thought it was a "non-mod" problem but then the problem only occurs with certain cases)
 
Back
Top