I have this error when starting a city.
[object Object]
NullReferenceException: Object reference not set to an instance of an object
at Colossal.Logging.UnityLogger.Internal_WriteStream (UnityEngine.Object context, System.String format, System.Exception exception, System.IO.TextWriter stdStream) [0x0001e] in <04270347c2e34a219e33e9c53479ad56>:0
at Colossal.Logging.CustomLogHandler.PostProcessFormat (UnityEngine.LogType logType, UnityEngine.Object context, System.String format, Colossal.Logging.ILog log, System.Exception exception) [0x00094] in <04270347c2e34a219e33e9c53479ad56>:0
at Colossal.Logging.CustomLogHandler.LogFormat (UnityEngine.LogType logType, UnityEngine.Object context, System.String format, System.Object[] args) [0x0005e] in <04270347c2e34a219e33e9c53479ad56>:0
Colossal.Logging.CustomLogHandler:LogException(Exception, Object)
Colossal.Logging.CustomLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:LogFormat(LogType, String, Object[])
Colossal.Logging.UnityLogger:Log(Level, String, Exception)
Colossal.Logging.UnityLogger:Info(Object)
PathfindingCustomizer.PathfindSystems.PathfindCost.PathFindSystemBase`1:OnUpdate() (at C:\Users\Timva\RiderProjects\Better trafic AI\PathfindingCustomizer\PathfindSystems\PathfindCost\PathFindSystemBase.cs:20)
Unity.Entities.SystemBase:Update()
Game.UpdateSystem:Update(SystemUpdatePhase, UInt32, Int32)
Game.Simulation.SimulationSystem:UpdateLoadingProgress()
Game.Simulation.SimulationSystem:OnUpdate()
Unity.Entities.SystemBase:Update()
Game.UpdateSystem:Update(SystemUpdatePhase)
Game.SceneFlow.GameManager:LateUpdateWorld()
Game.SceneFlow.GameManager:LateUpdate()
And sometimes causes CTD.