Oxygen Map Causes Crash During Sync
Opened this issue · 1 comments
EthanCannoy commented
Had the preview to place an Algae Terrarium up when the game started syncing (Big "Loading..." screen). Caused a crash with the following error report:
System.NullReferenceException: Object reference not set to an instance of an object
at SimDebugView.GetOxygenMapColour (SimDebugView instance, System.Int32 cell) [0x0001e] in <b9632d9696d9481e983a5f6af098775c>:0
at (wrapper delegate-invoke) System.Func`3[SimDebugView,System.Int32,UnityEngine.Color].invoke_TResult_T1_T2(SimDebugView,int)
at SimDebugView+UpdateSimViewWorkItem.Run (SimDebugView+UpdateSimViewSharedData shared_data) [0x00062] in <b9632d9696d9481e983a5f6af098775c>:0
at WorkItemCollection`2[WorkItemType,SharedDataType].InternalDoWorkItem (System.Int32 work_item_idx) [0x0000d] in <b7c7447268384cb08b7e1f389b05ce6d>:0
at JobManager.DoNextWorkItem () [0x0001a] in <b7c7447268384cb08b7e1f389b05ce6d>:0
at JobManager+WorkerThread.Run () [0x0001e] in <b7c7447268384cb08b7e1f389b05ce6d>:0
at UnityEngine.Debug.LogError (System.Object message) [0x00000] in <a83e096d0ba5413da59ce235b648c30c>:0
at Debug.LogError (System.Object obj) [0x00000] in <b7c7447268384cb08b7e1f389b05ce6d>:0
at JobManager+WorkerThread.PrintExceptions () [0x00000] in <b7c7447268384cb08b7e1f389b05ce6d>:0
at JobManager.Run (IWorkItemCollection work_items) [0x00000] in <b7c7447268384cb08b7e1f389b05ce6d>:0
at GlobalJobManager.Run (IWorkItemCollection work_items) [0x00000] in <b7c7447268384cb08b7e1f389b05ce6d>:0
at SimDebugView.UpdateData (UnityEngine.Texture2D texture, System.Byte[] textureBytes, HashedString viewMode, System.Byte alpha) [0x00000] in <b9632d9696d9481e983a5f6af098775c>:0
at SimDebugView.Update () [0x00000] in <b9632d9696d9481e983a5f6af098775c>:0
Build: U49-577063-V
polycone commented
We're not sure if it's related to the mod (since no mod code present in the stacktrace). We'll try to reproduce it anyway, because there could be an indirect impact we don't know about.