Cities: Skylines
TM:PE 11.9.1.0 STABLE (Traffic Manager: President Edition)
 Ця тема закріплена, тому вона, мабуть, важлива
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?
< >
Показані коментарі 115 із 20
Krzychu1245  [розробник] 27 берез. 2020 о 16:12 
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
Автор останньої редакції: Krzychu1245; 27 берез. 2020 о 16:12
leftbehind  [розробник] 27 берез. 2020 о 16:51 
Fix confirmed, will soon be in workshop > mods section
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.
Автор останньої редакції: Mr. Someguy; 27 берез. 2020 о 21:54
Цитата допису 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
Issue is resolved
Автор останньої редакції: DarkLord; 28 берез. 2020 о 7:08
Krzychu1245  [розробник] 28 берез. 2020 о 4:36 
Цитата допису DarkLord:
Цитата допису aubergine18:
Here you go

https://gtm.steamproxy.vip/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
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...
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.
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.
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
Цитата допису 南å:
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://gtm.steamproxy.vip/workshop/filedetails/discussion/1637663252/4961229186469957314/
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.
Thanks, about the Vehicle Manager
< >
Показані коментарі 115 із 20
На сторінку: 1530 50