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

Game crash on hard sync (late game) #282

Closed
polycone opened this issue Oct 27, 2023 · 0 comments · Fixed by #284
Closed

Game crash on hard sync (late game) #282

polycone opened this issue Oct 27, 2023 · 0 comments · Fixed by #284
Labels
bug Something isn't working discord An issue from Discord channels
Milestone

Comments

@polycone
Copy link
Member

polycone commented Oct 27, 2023

NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Component.get_gameObject(UnityEngine.Component)
  at MultiplayerMod.Multiplayer.Objects.MultiplayerObjects.SynchronizeWithTracker () [0x0002a] in <9d5476f5734f4b7186d16fe17f585d05>:0 
  at MultiplayerMod.Multiplayer.World.WorldManager.Sync () [0x0002f] in <9d5476f5734f4b7186d16fe17f585d05>:0 
  at MultiplayerMod.Multiplayer.CoreOperations.Binders.HostEventsBinder.<OnGameStarted>b__7_0 (MultiplayerMod.Multiplayer.CoreOperations.Events.WorldSavedEvent _) [0x00000] in <9d5476f5734f4b7186d16fe17f585d05>:0 
  at MultiplayerMod.Core.Events.EventDispatcher+<>c__DisplayClass4_0`1[T].<Subscribe>b__0 (T event, MultiplayerMod.Core.Events.EventSubscription _) [0x00000] in <9d5476f5734f4b7186d16fe17f585d05>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <695d1cc93cca45069c528c15c9fdd749>:0 
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at MultiplayerMod.Core.Events.EventDispatcher+<>c__DisplayClass8_0`1[T].<Dispatch>b__0 (MultiplayerMod.Core.Events.EventDispatcher+SubscribedAction it) [0x00016] in <9d5476f5734f4b7186d16fe17f585d05>:0 
  at MultiplayerMod.Core.Extensions.EnumerableExtensions.ForEach[T] (System.Collections.Generic.IEnumerable`1[T] enumerable, System.Action`1[T] action) [0x00010] in <9d5476f5734f4b7186d16fe17f585d05>:0 
  at MultiplayerMod.Core.Events.EventDispatcher.Dispatch[T] (T event) [0x00049] in <9d5476f5734f4b7186d16fe17f585d05>:0 
  at MultiplayerMod.Multiplayer.CoreOperations.GameStateEventsRelay.OnWorldSave () [0x0000b] in <9d5476f5734f4b7186d16fe17f585d05>:0 
  at MultiplayerMod.Game.World.SaveLoaderEvents.SavePostfix () [0x0001a] in <9d5476f5734f4b7186d16fe17f585d05>:0 
  at (wrapper dynamic-method) SaveLoader.SaveLoader.Save_Patch1(SaveLoader,string,bool,bool)
  at Game+<DelayedSave>d__202.MoveNext () [0x000f5] in <d1b7643456214f4e8c00f70e3a2b4469>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <72b60a3dd8cd4f12a155b761a1af9144>:0 
@polycone polycone added bug Something isn't working discord An issue from Discord channels labels Oct 27, 2023
@polycone polycone added this to the 1.x milestone Oct 27, 2023
@polycone polycone linked a pull request Oct 31, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working discord An issue from Discord channels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant