Cities: Skylines

Cities: Skylines

View Stats:
This topic has been locked
Dogge Mar 26, 2020 @ 3:54am
Any way to solve "Object reference not set to an instance of an object [System.NullReferenceException]"
Hi, as many players I just updated the game.

When I load, it pops out as:

Object reference not set to an instance of an object [System.NullReferenceException]

Details:
No details


I have updated the TM:PE already. Even though I disabled all mods, it is still there and cannot exit. So sad. I can start a new game and everything is fine but cannot load my old town... :(

Any solutions? Thanks!

< >
Showing 1-15 of 57 comments
I'm getting this also. i disabled all mods and updated TMPE. it's still broken. as soon as i plop something down i get this error and can't close it.
Last edited by Napoleon Blownapart; Mar 26, 2020 @ 3:57am
Goat happy Mar 26, 2020 @ 4:03am 
+1
mageDSA Mar 26, 2020 @ 4:05am 
+2
Miyu Mar 26, 2020 @ 4:08am 
+3
adenta3 Mar 26, 2020 @ 4:13am 
+4
vila浅水荟澄 Mar 26, 2020 @ 4:47am 
https://ufile.io/r234wre7

Simulation error: Object reference not set to an instance of an object
at TransportStationAI.IsIntercity () <0x0019f>
at TransportStationAI.AdjustMaintenanceCost (uint16,Building&,int) <0x00030>
at PlayerBuildingAI.SimulationStepActive (uint16,Building&,Building/Frame&) <0x001aa>
at CommonBuildingAI.SimulationStep (uint16,Building&,Building/Frame&) <0x00e6d>
at PlayerBuildingAI.SimulationStep (uint16,Building&,Building/Frame&) <0x0002f>
at DepotAI.SimulationStep (uint16,Building&,Building/Frame&) <0x0002a>
at TransportStationAI.SimulationStep (uint16,Building&,Building/Frame&) <0x002f8>
at BuildingAI.SimulationStep (uint16,Building&) <0x00060>
at (wrapper dynamic-method) CommonBuildingAI.SimulationStep_Patch1 (object,uint16,Building&) <0x00055>
at BuildingManager.SimulationStepImpl (int) <0x00675>
at SimulationManagerBase`2.SimulationStep (int) <0x0004c>
at BuildingManager.ISimulationManager.SimulationStep (int) <0x00024>
at SimulationManager.SimulationStep () <0x00693>
at SimulationManager.SimulationThread () <0x0018a>

Do you guys has same error code in your output-log file?
Last edited by vila浅水荟澄; Mar 26, 2020 @ 7:35pm
karltherbt Mar 26, 2020 @ 4:50am 
The problem comes when:
1. You have 81 tiles mod installed
2. You have more than 25 areas in the savegame
Just wait for the update of 81 tiles then

And 3. You have extra train station track mod installed and you have elevated or underground train station, Bloodypenguin is going to update the mod, just stay tune
Last edited by karltherbt; Mar 26, 2020 @ 4:52am
Dogge Mar 26, 2020 @ 5:33am 
Originally posted by karltherbt:
The problem comes when:
1. You have 81 tiles mod installed
2. You have more than 25 areas in the savegame
Just wait for the update of 81 tiles then

And 3. You have extra train station track mod installed and you have elevated or underground train station, Bloodypenguin is going to update the mod, just stay tune

Thank you!
lst_46 Mar 26, 2020 @ 5:50am 
According to the pinned discussion, the disabled mods still run codes in the game so it's no use. You need to unsubscribe them until the creators made a proper update.
soldyne Mar 26, 2020 @ 6:02am 
I do not have 81 tiles mod. my city only has 25. but I still get this error. any other ideas? also not using any train related mods.
Last edited by soldyne; Mar 26, 2020 @ 6:02am
nigelcgn Mar 26, 2020 @ 6:58am 
OK, sorry, but none of the above is 100% the answer (though disabling (some) mods may help of course - many of us have had this experience).

I have NO MODS active (since days - testing myself in vanilla mode) and I still get the Null Exception message. Game was fine in the early hours of today (CET). Not now. I had the extra train station track mode installed, but it was de-activated and therefore the game gave me an error for two assets: Boformer's Sunken Station and Gare d'Orsay - which are anyway not placed in the current city. So now I disabled these assets too. Shouldn't strictly be necessary. The mod message disappeared (confirming that action) but it made NO difference to the System Null Ref. Exception. The error is there in absolutely plan vanilla mode. Mods may make it worse ... but they are not the SOLE cause.

Please, Paradox developers get onto this... stuck at home and not able to play is really frustrating!
soldyne Mar 26, 2020 @ 7:10am 
same, I unsubscribed to all mods. old saves are still broken. I am able to start a new city, but, I built up my current city so I could start using the DLC right away. not anymore...
leadfoone Mar 26, 2020 @ 7:39am 
+1

Field '.PathUnit.m_vehicleTypes' not found. [System.MissingFieldException]

Details:
No details
Last edited by leadfoone; Mar 26, 2020 @ 7:39am
nigelcgn Mar 26, 2020 @ 7:45am 
OK more testing, in case any developers are reading this...

I can start a new city and save it quite normally. So the game works for new cities... on its own not wonderfully helpful. :-)

In my no-mods city, it seems the message comes in threes. If you press Enter three times quickly, it takes about 3 seconds until the message reappears and then needs again three "Enters". Then repeats. So either the game is testing all assets and finding the same error on hundreds of them... or it is stuck in a loop... Whatever, even after 15 minutes of pressing Enter, the error was still appearing and I gave up. Needs a bug fix Paradox, please!
Thame Mar 26, 2020 @ 10:19am 
I got the same error msg after loading the saved game. Hope the developer can fix the error asap :(
< >
Showing 1-15 of 57 comments
Per page: 1530 50

Date Posted: Mar 26, 2020 @ 3:54am
Posts: 57