Cities: Skylines

Cities: Skylines

TM:PE 11.9.1.0 STABLE (Traffic Manager: President Edition)
 This topic has been pinned, so it's probably important
Object reference not set to an instance of an object
Every time I load into my city my game is paused and comes up with this error saying object reference not set to an instance of an object. How can I fix this?
< >
Showing 1-15 of 20 comments
Krzychu1245  [developer] Mar 27, 2020 @ 4:12pm 
Hi, this error is not caused by TM:PE. More Info[github.com], alhough we are extensively working on fix for that, so stay tuned! :winter2019coolyul:

I will post an update when we will get it working
Last edited by Krzychu1245; Mar 27, 2020 @ 4:12pm
leftbehind  [developer] Mar 27, 2020 @ 4:51pm 
Fix confirmed, will soon be in workshop > mods section
Mr. Someguy Mar 27, 2020 @ 9:53pm 
My error message pointed to TMPE, but the IsIntercity Fix resolved it. Just mentioning that incase anyone else is wondering about it. Interesting times when the error message itself is in error.
Last edited by Mr. Someguy; Mar 27, 2020 @ 9:54pm
what the flip Mar 27, 2020 @ 11:10pm 
Originally posted by Krzychu1245:
Hi, this error is not caused by TM:PE. More Info[github.com], alhough we are extensively working on fix for that, so stay tuned! :winter2019coolyul:

I will post an update when we will get it working
Thanks much appreciated
what the flip Mar 27, 2020 @ 11:12pm 
Originally posted by aubergine18:
Here you go

https://steamcommunity.com/sharedfiles/filedetails/?id=2037862156
thanks I'll see if this works
DarkLord Mar 28, 2020 @ 3:19am 
Issue is resolved
Last edited by DarkLord; Mar 28, 2020 @ 7:08am
Krzychu1245  [developer] Mar 28, 2020 @ 4:36am 
Originally posted by DarkLord:
Originally posted by aubergine18:
Here you go

https://steamcommunity.com/sharedfiles/filedetails/?id=2037862156

After installed above fix i still encountered same issue

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

Details:
No details

Please separate discussion thread and include output_log.txt. It seems that you have different kind of error
MaxTraxx Mar 31, 2020 @ 2:28am 
Just say I had a different error:

Object must be an array of primitives. [System.ArgumentException]
And the IsIntercity Fix also seems to have fixed that :)

Cheers!

Now back to micromanaging every junction I can see...
jonny.strange Aug 8, 2020 @ 8:21am 
I'm getting this error while I'm in map editor, I updated to TM:PE v11. The fix seems not to be working, I'm not sure what to do?? Also, I'm getting a EndDeserialize(VehicleManager) tag mismatch error, I don't know what error this is. I'm running Sunset Harbor.
Krzychu1245  [developer] Aug 8, 2020 @ 8:33am 
EndDeserialize(VehicleManager) means that either you forget to enable MoreVehicles mod if you used it before on selected savegame or other mod dependency.
Without looking into output_log.txt I can't say anything mod.
南å Aug 8, 2020 @ 9:15am 
A Mod caused an error [System.Exception]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.IOException: Sharing violation on path D:\Program Files (x86)\Steam\steamapps\common\Cities_Skylines\Cities_Data\TMPE.log
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
at System.IO.File.AppendText (System.String path) [0x00000] in <filename unknown>:0
at CSUtil.Commons.Log.LogToFile (System.String log, LogLevel level) [0x00000] in <filename unknown>:0
at CSUtil.Commons.Log.InfoFormat (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
at TrafficManager.TrafficManagerMod.OnEnabled () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception
Krzychu1245  [developer] Aug 8, 2020 @ 9:29am 
Originally posted by 南å:
A Mod caused an error [System.Exception]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.IOException: Sharing violation on path D:\Program Files (x86)\Steam\steamapps\common\Cities_Skylines\Cities_Data\TMPE.log
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
at System.IO.File.AppendText (System.String path) [0x00000] in <filename unknown>:0
at CSUtil.Commons.Log.LogToFile (System.String log, LogLevel level) [0x00000] in <filename unknown>:0
at CSUtil.Commons.Log.InfoFormat (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
at TrafficManager.TrafficManagerMod.OnEnabled () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception

Wrong thread, https://steamcommunity.com/workshop/filedetails/discussion/1637663252/4961229186469957314/
jonny.strange Aug 8, 2020 @ 10:47am 
Thanks, how do you share the output log??? I unsubscribed to all of my mods just to see if I get the error in map editor - I did, now I'm going to unsubscribe to all of my assets to see if I get the error.
jonny.strange Aug 8, 2020 @ 10:50am 
Thanks, about the Vehicle Manager
< >
Showing 1-15 of 20 comments
Per page: 1530 50