• 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.

ayqian

Recruit
Jun 13, 2023
3
0

Information​

I have disabled all mods​

Yes

Required​

Summary​

NullReferenceException Error After Buying Vehicles of the World CCP & Changing a few Vehicle Options

Expected Result​

Did not expect errors when changing vehicle options.

Actual Result​

Constant Pop-up of "Object Reference Not Set to an Instance of an Object System.NullReferenceException" Error While unpausing game.

Steps to reproduce​

I changed standard Biofuel Buses & 1 Police Car option to new ones from the Vehicles of the World CCP. After 10-15 seconds of unpaused gameplay, constant NullReference error popups. When game is paused, there is no error.
I changed all the vehicles back to standard/default, and the popup errors went away.

Platform​

Epic Games Store

Game Version​

2023.7.1

Optional​

Description​

No Mods.
DLCs = After Dark, Airports, Snowfall, Green Cities, Mass Transit, Parklife, Campus, Sunset Harbor, Pearls from the East, Match Day, European Suburbia, Train Stations, Vehicles of the World

Today, I bought Snowfall, European Suburbia, Train Stations, Vehicles of the World. After changing a few Biofuel buses to options from Vehicles of the World, constant NullReference popup errors when game is unpaused.

I reversed all my vehicle changes and the problem went away, so I don't have a saved game copy that includes the errors.

Tags​

  • Compatibility
  • DLC
  • Stability

Attachments​

game_files.png

 
Last edited:
Upvote 0
Please attach the output_log.txt from after you've had the error (note that the log is reset when you restart the game).

The log can be found here:
<Epic Games>\CitiesSkylines\Cities_Data\output_log.txt
 
I have exactly the same problem, though as a result of the most recent update and its whenever I try to place a new building such as the International airport. Gave all these details to Paradox, they told me to come here. Im attaching the two files Paradox asked for in the hope that they are of some use in finding and correcting this bug. I use the vanilla version of the game, no mods so they are not the culprit.
 

Attachments

  • output_log.txt
    349,4 KB · Views: 0
  • Paradox DxDiag.txt
    121,5 KB · Views: 0
Please attach the output_log.txt from after you've had the error (note that the log is reset when you restart the game).

The log can be found here:
<Epic Games>\CitiesSkylines\Cities_Data\output_log.txt
Thank you, I've replicated the error and attached the output log. I can also attach a save file of the game with the error, although I'm not sure how to find it in my local drive.

From looking at the log output this seems like the problem:
Code:
Simulation error: Object reference not set to an instance of an object
  at VehicleManager.CreateVehicle (System.UInt16& vehicle, ColossalFramework.Math.Randomizer& r, .VehicleInfo info, Vector3 position, TransferReason type, Boolean transferToSource, Boolean transferToTarget) [0x00000] in <filename unknown>:0
  at Vehicle.Spawn (UInt16 vehicleID) [0x00000] in <filename unknown>:0
  at CarAI.TrySpawn (UInt16 vehicleID, .Vehicle& vehicleData) [0x00000] in <filename unknown>:0
  at CarAI.SimulationStep (UInt16 vehicleID, .Vehicle& data, Vector3 physicsLodRefPos) [0x00000] in <filename unknown>:0
  at VehicleManager.SimulationStepImpl (Int32 subStep) [0x00000] in <filename unknown>:0
  at SimulationManagerBase`2[Manager,Properties].SimulationStep (Int32 subStep) [0x00000] in <filename unknown>:0
  at VehicleManager.ISimulationManager.SimulationStep (Int32 subStep) [0x00000] in <filename unknown>:0
  at SimulationManager.SimulationStep () [0x00000] in <filename unknown>:0
  at SimulationManager.SimulationThread () [0x00000] in <filename unknown>:0   [Core]
 

Attachments

  • output_log.txt
    173,9 KB · Views: 0
I have exactly the same problem, though as a result of the most recent update and its whenever I try to place a new building such as the International airport. Gave all these details to Paradox, they told me to come here. Im attaching the two files Paradox asked for in the hope that they are of some use in finding and correcting this bug. I use the vanilla version of the game, no mods so they are not the culprit.
This is a different issue from what the OP is experiencing. We are aware of this issue and currently investigating it.

@ayqian Thank you for the log, I'll let you know if we need anything else.