-
Announcement
-
Simtropolis Returns! 05/26/2026
See here for details about our site recovery efforts.
-
Search the Community
Showing results for tags 'null'.
Found 1 result
-
Hoping someone can shed some light on the Object reference not set to an instance of an object NullReferenceException errors I keep getting when loading my savegame. Not sure if it is serious as after hitting OK to close the window(s) the game seems to run fine. I will list my system specs along with some background on how it happened below. What I want to know is the following: 1) What is causing this error? (mods? an issue with the core game itself? 2) Is this error serious, and if so, how can it be rectified? 3) If the error is not serious, can the game be played without any further issues? Can it be rectified? I've had these issues since owning the game in multiple save games and on two different computers I owned. And in all instances, it seems I can just hit OK without any issues (e.g., freezing, CTD). I know this is lengthy but I would greatly appreciate if someone knowledgeable in code could shed some light in my situation. Thanks! System Specs OS: Windows 10 Home 64-bit (10.0, Build 15063) Processor: AMD Ryzen 7 1700X Eight-Core Processor (16CPUs), ~3.4GHz Graphics: Radeon RX580 Series, 8GB (8139MB) VRAM Memory: 32GB (32768MB) DDR4 RAM DirectX Version: DirectX 12 Background information I started a new city about a month or two ago and up until now I never had any errors when loading this city's save. It all started about 2 days ago with this error: Object reference not set to an instance of an object [System.NullReferenceException] Details: No details Only one error window popped up saying this. I hit OK, and the game seemingly ran fine afterwards and the error would not return until the next time I load the savegame. The next time I loaded my savegame, the same error popped up once, I hit OK, and the game seemingly ran fine. The third time I loaded my city after first encountering the error, something strange happened. The error did not show up at all. The 4th time I loaded my savegame, the same error window popped up twice, so I hit OK both times, and the game seemingly ran fine. The fifth time I loaded my save, the same error popped up 4 times, hit OK 4 times, and the game seemingly ran fine. And now when I load the game, the same error pops up 6 times, and I can hit OK and the game seemingly runs fine. Now I've researched a bit on this error and I know it can be caused by unsubbing from assets (esp vehicles), but the thing is, I have not unsubbed from any assets since weeks before this error first occurred (and none where vehicles or buildings). Also, no mod has updated since one week before the error first occurred. I also know that Ploppable RICO can cause issues and I do use RICO but only to place RICO enabled buildings from the workshop. Funny thing is, the only thing I did to the last save before the error was enable Parking AI in TMPE then save and quit the game but it doesn't seem to be a TMPE issue. Output Logs Here are some areas from my most recent output log where the nullreferenceexception error occurs (last 2 full output logs attached): Node diffuse is DXT5: Metro Station Track Sunken [Core] (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) NullReferenceException: Object reference not set to an instance of an object at PrefabCollection`1[PropInfo].InitializePrefabs (System.String collection, .PropInfo[] prefabs, System.String[] replaces) [0x00000] in <filename unknown>:0 at PropCollection+<InitializePrefabs>c__Iterator0.MoveNext () [0x00000] in <filename unknown>:0 at LoadingManager.Update () [0x00000] in <filename unknown>:0 (Filename: Line: -1) NullReferenceException: Object reference not set to an instance of an object at PrefabCollection`1[NetInfo].InitializePrefabs (System.String collection, .NetInfo[] prefabs, System.String[] replaces) [0x00000] in <filename unknown>:0 at NetCollection+<InitializePrefabs>c__Iterator0.MoveNext () [0x00000] in <filename unknown>:0 at LoadingManager.Update () [0x00000] in <filename unknown>:0 (Filename: Line: -1) NetLaneProps must be instantiated using the ScriptableObject.CreateInstance method instead of new NetLaneProps. (Filename: Line: 648) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- No base generated: 910029444.Modern Low-Rise Living #2_Data [Core] (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) NullReferenceException: Object reference not set to an instance of an object at ToolBase.OnEnable () [0x00000] in <filename unknown>:0 UnityEngine.GameObject:Internal_AddComponentWithType(Type) UnityEngine.GameObject:AddComponent(Type) UnityEngine.GameObject:AddComponent() PloppableRICO.PloppableTool:Initialize() PloppableRICO.Loading:OnLevelLoaded(LoadMode) LoadingWrapper:OnLevelLoaded(UpdateMode) <LoadLevelComplete>c__Iterator9:MoveNext() LoadingManager:Update() (Filename: Line: -1) City Hall About to try (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) City Hall Button Destroyed ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- PopsApi: Shutdown complete (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) Setting up 4 worker threads for Enlighten. Thread -> id: 282c -> priority: 1 Thread -> id: 18e4 -> priority: 1 Thread -> id: 19a0 -> priority: 1 Thread -> id: 2358 -> priority: 1 NullReferenceException: Object reference not set to an instance of an object at ToolBase.OnDisable () [0x00000] in <filename unknown>:0 (Filename: Line: -1) [Advanced Vehicle Options 1.7.5] Destroying UIMainPanel (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) Simulation terminated [Core] (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- REx: Vanilla Highway Menu Modifier modifications applied in 31ms (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) Compatibilities got in 0ms (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) NullReferenceException: Object reference not set to an instance of an object at PrefabCollection`1[PropInfo].InitializePrefabs (System.String collection, .PropInfo[] prefabs, System.String[] replaces) [0x00000] in <filename unknown>:0 at PropCollection+<InitializePrefabs>c__Iterator0.MoveNext () [0x00000] in <filename unknown>:0 at LoadingManager.Update () [0x00000] in <filename unknown>:0 (Filename: Line: -1) NullReferenceException: Object reference not set to an instance of an object at PrefabCollection`1[NetInfo].InitializePrefabs (System.String collection, .NetInfo[] prefabs, System.String[] replaces) [0x00000] in <filename unknown>:0 at NetCollection+<InitializePrefabs>c__Iterator0.MoveNext () [0x00000] in <filename unknown>:0 at LoadingManager.Update () [0x00000] in <filename unknown>:0 (Filename: Line: -1) Segment diffuse is DXT5: Rail1L [Core] (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) output_log 1.txt output_log 2.txt
- 3 Replies
-
- nullreferenceexception
- error
- (and 4 more)

