Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oxygen Map Causes Crash During Sync #266

Open
EthanCannoy opened this issue Oct 19, 2023 · 1 comment
Open

Oxygen Map Causes Crash During Sync #266

EthanCannoy opened this issue Oct 19, 2023 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@EthanCannoy
Copy link

EthanCannoy commented Oct 19, 2023

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
Copy link
Member

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.

@polycone polycone added the bug Something isn't working label Oct 22, 2023
@polycone polycone moved this to Todo in Multiplayer Mod Oct 22, 2023
@polycone polycone added this to the 1.x milestone Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants