Mydayyy / Valheim-ServerSideMap

This plugin completely moves the explored map and created pins to the server. As clients explore, they will send their explored areas to the server who will then distribute it to all connected clients. When a client joins, the server will synchronize the currently explored areas to the client. Pins are shared as well but default to false and need to be enabled. When pin sharing is used, all newly created pins are send to the server who saves them along with the explored area.
38 stars 1 forks source link

Stuck on the game loading screen and cannot enter the game #57

Closed jacklee-code closed 10 months ago

jacklee-code commented 10 months ago

Mod version: v1.3.8 Game version: 0.217.14 (Hildir Request)

Game Log:

[Info   : Unity Log] ConnectPortals => Connected 0 portals.
[Info   : Unity Log] ConnectSpawners => Connected 226 spawners and 512 'done' spawners.
[Info   : Unity Log] 08/26/2023 18:05:34: Loaded 10150 locations

[Info   : Unity Log] 08/26/2023 18:05:34: Unloading unused assets

[Error  : Unity Log] MissingMethodException: void ZNet.Save(bool)
Stack trace:
(wrapper dynamic-method) ZNet.DMD<ZNet::LoadWorld>(ZNet)
ZNet.ServerLoadWorld () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)
ZNet.Start () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:05:34: Starting respawn

[Info   : Unity Log] 08/26/2023 18:05:34: Lobby was created k_EResultOK  109775242601756503  error:False

[Info   : Unity Log] 08/26/2023 18:05:34: Got requested lobby data

[Info   : Unity Log] 08/26/2023 18:05:34: Session auth respons callback

[Info   : Unity Log] 08/26/2023 18:05:42: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:05:42: tip:$loadscreen_tip23

[Info   : Unity Log] 08/26/2023 18:05:42: Got requested lobby data

[Info   : Unity Log] 08/26/2023 18:05:50: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:05:57: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:06:05: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:06:12: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:06:20: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:06:27: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:06:35: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:06:43: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:06:51: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:06:58: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:07:06: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:07:14: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:07:21: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:07:29: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:07:37: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:07:45: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:07:52: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:08:00: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:08:07: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:08:15: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)

[Info   : Unity Log] 08/26/2023 18:08:22: Unpacking compressed mapdata 11346

[Info   :ServerSideMap] ClientAppendPins 0
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ServerSideMap.ExplorationDatabase.PackBoolArray (System.Boolean[] arr, System.Int32 chunkId, System.Int32 startIndex, System.Int32 size) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync.SendChunkToClient (ZRpc client, System.Int32 chunk) (at <34f8597ca0884df4a3f9dc910f122947>:0)
ServerSideMap.InitialMapSync+MinimapPatchSetMapData.Postfix (Minimap __instance) (at <34f8597ca0884df4a3f9dc910f122947>:0)
(wrapper dynamic-method) Minimap.DMD<Minimap::SetMapData>(Minimap,byte[])
(wrapper dynamic-method) Minimap.DMD<Minimap::LoadMapData>(Minimap)
Minimap.Update () (at <447b19510f604ca3807cd6cce3a7c1ef>:0)
Mydayyy commented 10 months ago

Greetings,

following this comment: https://github.com/Mydayyy/Valheim-ServerSideMap/issues/55#issuecomment-1690488446

as well as using this beta version: https://github.com/Mydayyy/Valheim-ServerSideMap/issues/55#issuecomment-1693368147

Should resolve that issue.

jacklee-code commented 10 months ago

Thank you so much