blaxxun-boop / Guilds

1 stars 1 forks source link

Spams errors when a player disconnects from the server, both sides hard-locked. #4

Closed falcodxb closed 5 months ago

falcodxb commented 5 months ago

When a player disconnects the serverside console is spammed with errors, but the client throws one error on their console and is locked on a black screen. Both sides have to be forcefully closed.

errors.txt (serverside)

[Warning: Unity Log] Privilege Multiplayer is not known on this platform. Privilege therefore is granted without check...
[Warning: Unity Log] Privilege UserGeneratedContent is not known on this platform. Privilege therefore is granted without check...
[Warning: Unity Log] Privilege CrossPlay is not known on this platform. Privilege therefore is granted without check...
[Warning: Unity Log] 04/14/2024 16:23:07: Fetching PlatformPrefs 'GuiScale' before loading defaults
[Warning: Unity Log] 04/14/2024 16:23:07: Fetching PlatformPrefs 'GuiScale' before loading defaults
[Warning: Unity Log] Only custom filters can be played. Please add a custom filter or an audioclip to the audiosource (Amb_MainMenu).
[Warning: Unity Log] HDR Render Texture not supported, disabling HDR on reflection probe.

----- 2x -----
[Warning: Unity Log] 04/14/2024 16:23:13: Set button "CamZoomIn" to None!
[Warning: Unity Log] 04/14/2024 16:23:13: Set button "CamZoomOut" to None!
--------------

[Warning: Unity Log] 04/14/2024 16:23:13: Missing audio clip in music respawn
[Warning: Unity Log] The image effect Main Camera (UnityStandardAssets.ImageEffects.DepthOfField) has been disabled as it's not supported on the current platform.
[Warning: Unity Log] The image effect Main Camera (UnityStandardAssets.ImageEffects.SunShafts) has been disabled as it's not supported on the current platform.
[Warning: Unity Log] HDR Render Texture not supported, disabling HDR on reflection probe.
[Warning: Unity Log] HDR Render Texture not supported, disabling HDR on reflection probe.
[Warning: Unity Log] 04/14/2024 16:23:17: Found 2 ZDOs with unknown prefabs. Will load anyway.
[Warning: Unity Log] 04/14/2024 16:23:17:     Hash -2138005507 appeared 2 times.
[Warning: Unity Log] The image effect Main Camera (UnityStandardAssets.ImageEffects.DepthOfField) has been disabled as it's not supported on the current platform.
[Warning: Unity Log] The image effect Main Camera (UnityStandardAssets.ImageEffects.SunShafts) has been disabled as it's not supported on the current platform.

[Info   : Unity Log] 04/14/2024 16:24:25: Exception in ZRpc::HandlePackage: System.TypeLoadException: Failure has occurred while loading a type.
  at Guilds.GuildList+<>c.<Init>b__10_0 () [0x0057d] in <26182893534c42c29a4eca1c8af08294>:0 
  at (wrapper delegate-invoke) <Module>.invoke_void()
  at ServerSync.CustomSyncedValueBase.set_BoxedValue (System.Object value) [0x00012] in <26182893534c42c29a4eca1c8af08294>:0 
  at ServerSync.CustomSyncedValue`1[T].set_Value (T value) [0x00000] in <26182893534c42c29a4eca1c8af08294>:0 
  at Guilds.GuildList.WriteGuild (System.String guildName) [0x0004f] in <26182893534c42c29a4eca1c8af08294>:0 
  at Guilds.GuildList+GuildListManipulationListener.UpdateGuild (ZRpc rpc, ZPackage zpkg) [0x00154] in <26182893534c42c29a4eca1c8af08294>:0 
  at Guilds.GuildList.updateGuild (System.String guildName) [0x0018d] in <26182893534c42c29a4eca1c8af08294>:0 
  at Guilds.API.SaveGuild (Guilds.Guild guild) [0x00023] in <26182893534c42c29a4eca1c8af08294>:0 
  at Guilds.Patches+UpdateLastOnline.Prefix (ZNet __instance, ZNetPeer peer) [0x00066] in <26182893534c42c29a4eca1c8af08294>:0 
  at (wrapper dynamic-method) ZNet.DMD<ZNet::Disconnect>(ZNet,ZNetPeer)
  at ZNet.RPC_Disconnect (ZRpc rpc) [0x00023] in <7c0182a79e1a4af59b50f9812d240187>:0 
  at ZRpc+RpcMethod.Invoke (ZRpc rpc, ZPackage pkg) [0x00000] in <7c0182a79e1a4af59b50f9812d240187>:0 
  at (wrapper dynamic-method) ZRpc.DMD<ZRpc::HandlePackage>(ZRpc,ZPackage)
  at ZRpc.Update (System.Single dt) [0x0003e] in <7c0182a79e1a4af59b50f9812d240187>:0 

----- 131x -----
[Error  : Unity Log] TypeLoadException: Failure has occurred while loading a type.
Stack trace:
Guilds.GuildList+<>c.<Init>b__10_0 () (at <26182893534c42c29a4eca1c8af08294>:0)
ServerSync.CustomSyncedValueBase.set_BoxedValue (System.Object value) (at <26182893534c42c29a4eca1c8af08294>:0)
ServerSync.CustomSyncedValue`1[T].set_Value (T value) (at <26182893534c42c29a4eca1c8af08294>:0)
Guilds.GuildList.WriteGuild (System.String guildName) (at <26182893534c42c29a4eca1c8af08294>:0)
Guilds.GuildList+GuildListManipulationListener.UpdateGuild (ZRpc rpc, ZPackage zpkg) (at <26182893534c42c29a4eca1c8af08294>:0)
Guilds.GuildList.updateGuild (System.String guildName) (at <26182893534c42c29a4eca1c8af08294>:0)
Guilds.API.SaveGuild (Guilds.Guild guild) (at <26182893534c42c29a4eca1c8af08294>:0)
Guilds.Patches+UpdateLastOnline.Prefix (ZNet __instance, ZNetPeer peer) (at <26182893534c42c29a4eca1c8af08294>:0)
(wrapper dynamic-method) ZNet.DMD<ZNet::Disconnect>(ZNet,ZNetPeer)
ZNet.UpdatePeers (System.Single dt) (at <7c0182a79e1a4af59b50f9812d240187>:0)
ZNet.Update () (at <7c0182a79e1a4af59b50f9812d240187>:0)
----------------

[Error  : Unity Log] TypeLoadException: Failure has occurred while loading a type.
Stack trace:
Guilds.GuildList+<>c.<Init>b__10_0 () (at <26182893534c42c29a4eca1c8af08294>:0)
ServerSync.CustomSyncedValueBase

errors.txt (clientside)

[Warning: Unity Log] Privilege Multiplayer is not known on this platform. Privilege therefore is granted without check...
[Warning: Unity Log] Privilege UserGeneratedContent is not known on this platform. Privilege therefore is granted without check...
[Warning: Unity Log] Privilege CrossPlay is not known on this platform. Privilege therefore is granted without check...
[Warning: Unity Log] 04/14/2024 20:23:35: Fetching PlatformPrefs 'GuiScale' before loading defaults
[Warning: Unity Log] 04/14/2024 20:23:35: Fetching PlatformPrefs 'GuiScale' before loading defaults
[Warning: Unity Log] Only custom filters can be played. Please add a custom filter or an audioclip to the audiosource (Amb_MainMenu).

----- 2x -----
[Warning: Unity Log] 04/14/2024 20:23:50: Set button "CamZoomIn" to None!
[Warning: Unity Log] 04/14/2024 20:23:50: Set button "CamZoomOut" to None!
--------------

[Warning: Unity Log] 04/14/2024 20:23:50: Missing audio clip in music respawn

[Error  : Unity Log] TypeLoadException: Failure has occurred while loading a type.
Stack trace:
Guilds.GuildList+<>c.<Init>b__10_0 () (at <26182893534c42c29a4eca1c8af08294>:0)
ServerSync.CustomSyncedValueBase.set_BoxedValue (System.Object value) (at <26182893534c42c29a4eca1c8af08294>:0)
ServerSync.ConfigSync.resetConfigsFromServer () (at <26182893534c42c29a4eca1c8af08294>:0)
ServerSync.ConfigSync+ResetConfigsOnShutdown.Postfix () (at <26182893534c42c29a4eca1c8af08294>:0)
(wrapper dynamic-method) ZNet.DMD<ZNet::Shutdown>(ZNet,bool)
Game.Shutdown (System.Boolean saveWorld) (at <da52c09f594f4a7480000b7420815ba7>:0)
Game.ContinueLogout (System.Boolean save, System.Boolean shouldExit, System.Boolean changeToStartScene) (at <da52c09f594f4a7480000b7420815ba7>:0)
Game.Logout (System.Boolean save, System.Boolean changeToStartScene) (at <da52c09f594f4a7480000b7420815ba7>:0)
Menu.Logout () (at <da52c09f594f4a7480000b7420815ba7>:0)
Menu.OnLogoutYes () (at <da52c09f594f4a7480000b7420815ba7>:0)
UnityEngine.Events.InvokableCall.Invoke () (at <ab14d35a27c043688812ae199c64b5aa>:0)
UnityEngine.Events.UnityEvent.Invoke () (at <ab14d35a27c043688812ae199c64b5aa>:0)
UnityEngine.UI.Button.Press () (at <a01fe238487248d39ba352ec152ec890>:0)
UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <a01fe238487248d39ba352ec152ec890>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <a01fe238487248d39ba352ec152ec890>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <a01fe238487248d39ba352ec152ec890>:0)
UnityEngine.EventSystems.EventSystem:Update()

[Warning: Unity Log] 04/14/2024 20:24:26: Local player destroyed
falcodxb commented 5 months ago

Fixed in latest version.