ruzbeh0 / Time2Work

Time2Work Mod for Cities Skylines 2
2 stars 0 forks source link

Reference to your local drive #3

Open Ezilii opened 6 days ago

Ezilii commented 6 days ago

Something is up, it could very well be PDX mods or something but I am getting an NullReference Exception: Object reference not set to an instance of an object and then points to your local drive.

The file is Mod.cs on line 118

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 <9112b5e1c8a44998b90680dfb9b56904>:0 at Colossal.Logging.CustomLogHandler.PostProcessFormat (UnityEngine.LogType logType, UnityEngine.Object context, System.String format, Colossal.Logging.ILog log, System.Exception exception) [0x00094] in <9112b5e1c8a44998b90680dfb9b56904>:0 at Colossal.Logging.CustomLogHandler.LogFormat (UnityEngine.LogType logType, UnityEngine.Object context, System.String format, System.Object[] args) [0x0005e] in <9112b5e1c8a44998b90680dfb9b56904>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) 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) Time2Work.Mod:OnLoad(UpdateSystem)

Game.Modding.ModInfo:OnLoad(UpdateSystem) Game.Modding.ModInfo:Load(UpdateSystem) Game.Modding.ModManager:InitializeMods(UpdateSystem) Game.Modding.ModManager:Initialize(UpdateSystem) Game.SceneFlow.GameManager:InitializeModManager(Boolean) Game.SceneFlow.<gRegisterDatabase|9>d:MoveNext() System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start(<gRegisterDatabase|9>d&) Game.SceneFlow.<>c__DisplayClass106_1:gRegisterDatabase|9() Game.SceneFlow.<b4>d:MoveNext() System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Runtime.CompilerServices.MoveNextRunner:Run() System.Threading.Tasks.AwaitTaskContinuation:InvokeAction(Object) System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation:Run(Task, Boolean) System.Threading.Tasks.Task:FinishContinuations() System.Threading.Tasks.Task:FinishStageThree() System.Threading.Tasks.Task1:TrySetResult(VoidTaskResult) System.Runtime.CompilerServices.AsyncTaskMethodBuilder1:SetResult(VoidTaskResult) System.Runtime.CompilerServices.AsyncTaskMethodBuilder1:SetResult(Task1) System.Runtime.CompilerServices.AsyncTaskMethodBuilder:SetResult() Colossal.PSI.PdxSdk.d146:MoveNext() System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Runtime.CompilerServices.MoveNextRunner:Run() System.Threading.Tasks.<>c:<.cctor>b7_0(Object) UnityEngine.WorkRequest:Invoke() UnityEngine.UnitySynchronizationContext:Exec() UnityEngine.UnitySynchronizationContext:ExecuteTasks()

Ezilii commented 6 days ago

This seems to have been resolved when the mod went from 0.9.2 to 0.9.3.

Thanks a billion!