RavienGaming / Reforged-Eden-2

Reforged Eden 2 bug reporting
https://steamcommunity.com/sharedfiles/filedetails/?id=3143225812
6 stars 0 forks source link

Getting null pointer exception -> Game server crashes and restarts #133

Closed CadaVezNL closed 2 weeks ago

CadaVezNL commented 2 weeks ago

Reforged Eden 2 Build Number

RE2BUILD10

Game mode

Survival

Tested in vanilla

Not tested in vanilla or not applicable

Description of issue

We are getting a null pointer acception, just before the game crashes and server will auto restart.

Error code from console or log (Optional)

16-15:10:04.885 17_10 -EXC- System.NullReferenceException: Object reference not set to an instance of an object at Assembly-CSharp.AssistantSite.ToggleMemory (System.Int32 , System.Byte[] , System.Int32 , RakNet.PacketPriority , RakNet.PacketReliability , RakNet.RakNetGUID ) [0x0001f] in :0 at Assembly-CSharp.MenuSerializer+PathHelper.AddAssistant (System.Byte[] , System.Int32 ) [0x00072] in :0 at Assembly-CSharp.ImageTable.AddAssistant (System.Byte[] , System.Int32 , Assembly-CSharp.ImageTable+SelectionList ) [0x00009] in :0 at Assembly-CSharp.MenuSerializer.UnregisterBookmark (Assembly-CSharp.ConditionSerializer , System.Int32 , System.Byte[] , System.Int32 , Assembly-CSharp.ResourceDictionary+ServerCollection , Assembly-CSharp.ResourceDictionary+LineSet ) [0x0003c] in :0 at Assembly-CSharp.MenuSerializer.QuoteForm (Assembly-CSharp.ConditionSerializer , System.Int32 , System.Byte[] , System.Int32 , Assembly-CSharp.ResourceDictionary+ServerCollection , Assembly-CSharp.ResourceDictionary+LineSet ) [0x00000] in :0 at Assembly-CSharp.ConditionSerializer.LoadMemory (System.Int32 , System.Int32 , System.Byte[] , System.Int32 , Assembly-CSharp.ResourceDictionary+ServerCollection , Assembly-CSharp.ResourceDictionary+LineSet ) [0x00008] in :0 at Assembly-CSharp.ConditionScope.SearchReference (Assembly-CSharp.SolutionInvoker+MemoryStream ) [0x00311] in :0 16-15:10:04.886 17_10 -EXC- System.NullReferenceException: Object reference not set to an instance of an object at Assembly-CSharp.AssistantSite.ToggleMemory (System.Int32 , System.Byte[] , System.Int32 , RakNet.PacketPriority , RakNet.PacketReliability , RakNet.RakNetGUID ) [0x0001f] in :0 at Assembly-CSharp.MenuSerializer+PathHelper.AddAssistant (System.Byte[] , System.Int32 ) [0x00072] in :0 at Assembly-CSharp.ImageTable.AddAssistant (System.Byte[] , System.Int32 , Assembly-CSharp.ImageTable+SelectionList ) [0x00009] in :0 at Assembly-CSharp.MenuSerializer.UnregisterBookmark (Assembly-CSharp.ConditionSerializer , System.Int32 , System.Byte[] , System.Int32 , Assembly-CSharp.ResourceDictionary+ServerCollection , Assembly-CSharp.ResourceDictionary+LineSet ) [0x0003c] in :0 at Assembly-CSharp.MenuSerializer.QuoteForm (Assembly-CSharp.ConditionSerializer , System.Int32 , System.Byte[] , System.Int32 , Assembly-CSharp.ResourceDictionary+ServerCollection , Assembly-CSharp.ResourceDictionary+LineSet ) [0x00000] in :0 at Assembly-CSharp.ConditionSerializer.LoadMemory (System.Int32 , System.Int32 , System.Byte[] , System.Int32 , Assembly-CSharp.ResourceDictionary+ServerCollection , Assembly-CSharp.ResourceDictionary+LineSet ) [0x00008] in :0 at Assembly-CSharp.ConditionScope.SearchReference (Assembly-CSharp.SolutionInvoker+MemoryStream ) [0x00311] in :0 16-15:10:04.886 17_10 -LOG- Task Type=cancelInitialized ThreadId=11972 ManagedId=1443 Setting up 8 worker threads for Enlighten. 16-15:10:04.985 17_10 -LOG- EAC2: Session ended (Success) 16-15:10:06.058 17_10 -LOG- EOS: Platform Shutdown result: Success

POI Name

No response

Playfield Name

Biorumes

Playfield Class

TemperatePlateau

Star Name

No response

Star Class

No response

Mission Name

No response

Mission Objective

No response

Game Seed

No response

CadaVezNL commented 2 weeks ago

Game seed = 1011345

RavienGaming commented 2 weeks ago

This is likely from a corrupted playfield. You could try wiping the playfield using console commands or EAH and then respawning or restoring any lost player stuff. Unfortunately I can't be of much help with this. If you're able to reproduce it on a vanilla dedicated server you could try reporting it as a game bug so it gets fixed.

If it keeps happening and you notice a pattern such as always happening on a certain type of planet or near a certain POI please feel free to open a new ticket with that info.

When reproducing a game bug in a vanilla save, make sure you are using the same mode (singleplayer/co-op/dedicated multiplayer, survival/creative) as what you were using when the issue happened in the scenario. To see a list of known game bugs or to report a new one please see: https://empyriononline.com/forums/bugs.24/