Cities: Skylines

Cities: Skylines

TM:PE 11.9.1.0 STABLE (Traffic Manager: President Edition)
 Tämä aihe on kiinnitetty, joten se on todennäköisesti tärkeä
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?
< >
Näytetään 1-15 / 20 kommentista
Krzychu1245  [kehittäjä] 27.3.2020 klo 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
Viimeisin muokkaaja on Krzychu1245; 27.3.2020 klo 16.12
leftbehind  [kehittäjä] 27.3.2020 klo 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.
Viimeisin muokkaaja on Mr. Someguy; 27.3.2020 klo 21.54
Krzychu1245 lähetti viestin:
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
aubergine18 lähetti viestin:
Here you go

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2037862156
thanks I'll see if this works
Issue is resolved
Viimeisin muokkaaja on DarkLord; 28.3.2020 klo 7.08
Krzychu1245  [kehittäjä] 28.3.2020 klo 4.36 
DarkLord lähetti viestin:
aubergine18 lähetti viestin:
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.
Krzychu1245  [kehittäjä] 8.8.2020 klo 8.33 
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
Krzychu1245  [kehittäjä] 8.8.2020 klo 9.29 
南å lähetti viestin:
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
< >
Näytetään 1-15 / 20 kommentista
Sivua kohden: 1530 50