• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

dacity3000

Private
8 Badges
May 16, 2021
13
8
  • Cities: Skylines
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Mass Transit
  • Cities: Skylines - Green Cities
  • Cities: Skylines - Parklife
  • Cities: Skylines Industries
  • Cities: Skylines - Campus
Describe your issue
[SOLVED] The error massage " Object reference not set to an instance of an object " keeps popping up when my city running

What is your game version?
1.16.1-f2

What expansions do you have installed?
After Dark, Snowfall, Mass Transit, Green Cities, Parklife, Industries, Campus, Sunset Harbor, Airports

What mods are you using?
1.Move It
2.Extra Train Station Tracks ( ETST )
3.Tram Station Track
4.Precision Engineering
5.Theme Decals
6.Decal Hover Area
7.BigCity (25 tiles mod)
8.TMPE 11.7.4.0 STABLE
9.Railway Replacer
10.Clouds & Fog Toggler
11.AD Cloud Replacer
12.Environment Changer (+ Improved Theme Selection )
13.Intersection Marking Tool 1.13.1
14.Ploppable RICO Revisited 2.5.3
15.Custom Effect Loader
16.Hide TMPE crosswalks V3.2 [stable]
17.Find It! 2
18.Node Controller Renewal 3.4
19.Network Multitool 1.3.3
20.One-Way Train Tracks
21.SingleTrainTrackAI
22.Zoning Adjuster 1.6
23.ROTTERdam: Road Texture Terrain Edge Remover
24.Custom Animation Loader (CAL)
25.MetroReplacer
26.Network Skins
27.Procedural Objects
28.Render It!
29.Play It!
30.Daylight Classic
31.BOB, the Tree and Prop Replacer 1.0
32.Reversible Tram AI
33.Mini FPS Booster
34.First Person Camera v2.2.0
35.Loading Screen Mod Revisited 1.1
36.Elevated Stops Enabler Revisited
37.Advanced Stop Selection Revisited 2.0
38.RON, the network replacer 1.0.5
39.Network Anarchy
40.Addresses & Names Mod 3.1.1
41.Compatibility Report v2.3.2 (Catalogue 7.15)
42.Adaptive Prop Visibility Distance
43.8K AD Clouds Pack 01
44.ACME 0.6.3
45.Extra Landscaping Tools
46.Ploppable Asphalt + ( I've already follow the introductions to disable this one and enable new one below )
47.Ploppable Asphalt + [Loading time Fix]
48.Advanced Vehicle Options
49.UnifiedUI (UUI) 2.2 [Stable]
50.Game Anarchy 0.9.8
51.Tree Anarchy temporary fix
52.Extended Managers Library temporary fix
53.Prop Anarchy temporary fix
54.Adaptive Networks (AN) V3.18 (STABLE)
55.Harmony 2.2.2-0 (Mod Dependency) [1.16.0-f3 compatible]

Please explain your issue is in as much detail as possible.
After changing several mods to compatible ones, I could enter my save and it could run, but it keeps popping up error messages "object reference not set to an instance of an object" when my city is running ( about every 5~10 seconds ). As I paused, the error messages wouldn't appear, but as I put play, it would show again.

I did follow the Compatibility Report to clean some old mods, and I had tried different methods like " verify integrity of game files ", "unsubscribe all mods and resubscribe them", " use the safe mode options for Loading Screen Mod Revisited ", but none of them could solve my problem. I felt frustrated.

My output log is in attach files. Please someone help me, and I will very appreciate.

Can you replicate the issue? If yes, please explain how you did it.
Just when I put "play" and my city is running, the error message will occur.

Attachments File(s) attached
 

Attachments

  • 20230330001753_1.jpg
    20230330001753_1.jpg
    258 KB · Views: 0
  • output_log.txt
    4,6 MB · Views: 0
Last edited:
Upvote 0
Please check your mods against this list:
Make sure to check the tab "Broken"


If you still get this problem after removing or replacing any bad ones, attach here a new copy of the game's log file:
…\Steam\steamapps\common\CitiesSkylines\CitiesData\output_log.txt
 
@dacity3000,

Your game is crashing in:

TransportStationAI.CreateIncomingVehicle

This is because the new H&T patch changed this function but unfortunately it now has a bug where the function doesn't check if an object is null before accessing it. I had the exact same bug and have patched it in Transfer Manager CE, if you run that mod then it will fix the issue for you till CO can release a patch.

If you don't want to run mods or Transfer Manager CE for whatever reason, then I found the object was null for bus stations from the Steam workshop so you could try removing any of those that you have in your city, but running the mod would be the most reliable.

Sleepy
 
@dacity3000,

Your game is crashing in:

TransportStationAI.CreateIncomingVehicle

This is because the new H&T patch changed this function but unfortunately it now has a bug where the function doesn't check if an object is null before accessing it. I had the exact same bug and have patched it in Transfer Manager CE, if you run that mod then it will fix the issue for you till CO can release a patch.

If you don't want to run mods or Transfer Manager CE for whatever reason, then I found the object was null for bus stations from the Steam workshop so you could try removing any of those that you have in your city, but running the mod would be the most reliable.

Sleepy
Your method works! Your mod " Transfer Manager CE" solved my problem. Really really thank you!
 
  • 1Like
Reactions: