zolantris / ValheimMods

Collection of ValheimMods, ValheimRaft (originally created by Sarcen) and a few other upcoming mods including a vehicles mod.
GNU General Public License v3.0
8 stars 4 forks source link

Raft Base no longer floating for v2.0.1 #73

Closed m4rcus25 closed 1 month ago

m4rcus25 commented 1 month ago

What happened?

Whenever a new Raft Base is placed it just sinks to the ocean floor

Steps to reproduce

Gather Wood -> place Raft -> watch it sink

Log outputs

[Info   : Unity Log] 05/17/2024 21:14:42: isModded: True

[Info   : Unity Log] 05/17/2024 21:14:42: Zonesystem Awake 4751

[Info   : Unity Log] 05/17/2024 21:14:42: DungeonDB Awake 4751

[Info   : Unity Log] 05/17/2024 21:14:42: Steam initialized, persona:m4rcus

[Info   : Unity Log] 05/17/2024 21:14:42: Worldgenerator version setup:2

[Info   : Unity Log] Registered 'advize.PlantEverything ConfigSync' RPC - waiting for incoming connections
[Info   : Unity Log] Registered 'Azumatt.AzuExtendedPlayerInventory ConfigSync' RPC - waiting for incoming connections
[Info   :Jotunn.Managers.PrefabManager] Adding 16 custom prefabs to the ZNetScene
[Info   : Unity Log] 05/17/2024 21:14:44: Checking for installed DLCs

[Info   : Unity Log] 05/17/2024 21:14:44: DLC:beta installed:False

[Info   : Unity Log] [PrefabCreator] Skipped recipe: Recipe_LeatherQuiver
[Info   : Unity Log] [PrefabCreator] Added recipe: Recipe_ArrowWoodAnywhere
[Info   : Unity Log] [PrefabCreator] Added recipe: Recipe_FireArrowTransform
[Info   : Unity Log] [PrefabCreator] Added recipe: Recipe_PoisonArrowTransform
[Info   : Unity Log] [PrefabCreator] Added recipe: Recipe_SilverArrowTransform
[Info   : Unity Log] [PrefabCreator] Added recipe: Recipe_FrostArrowTransform
[Info   :Jotunn.Managers.PieceManager] Adding 15 custom pieces to the PieceTables
[Info   : Unity Log] [floorsareroofs]: Triggered from PieceManager_OnPiecesRegistered
[Info   : Unity Log] [floorsareroofs]: Beginning patch attempt
[Info   : Unity Log] [floorsareroofs]: Starting to patches pieces in Hammer Hammer.
[Info   : Unity Log] [floorsareroofs]: Preparing to patch wood_floor_1x1
[Info   : Unity Log] [floorsareroofs] Successfully patched wood_floor_1x1 into a roof
[Info   : Unity Log] [floorsareroofs] wood_floor_1x1 patched to not degrade in the rain
[Info   : Unity Log] [floorsareroofs]: Preparing to patch wood_floor
[Info   : Unity Log] [floorsareroofs] Successfully patched wood_floor into a roof
[Info   : Unity Log] [floorsareroofs] wood_floor patched to not degrade in the rain
[Info   : Unity Log] [floorsareroofs]: Finished with hammer Hammer.  Sucessfully updated 2 floors.
[Info   : Unity Log] [floorsareroofs]: Successfully updated 2 floors.  Config setting has 2 floors specified.
[Info   : Unity Log] [floorsareroofs]: Floors updated finished successfully.
[Info   :Jotunn.Managers.NetworkManager] Registering 2 custom RPCs
[Info   : Unity Log] 05/17/2024 21:14:44: Zonesystem Start 4751

[Info   : Unity Log] 05/17/2024 21:14:44: Added 3 locations, 0 vegetations, 0 environments, 0 biome env-setups, 0 clutter  from main

[Info   : Unity Log] 05/17/2024 21:14:44: Added 1 locations, 0 vegetations, 2 environments, 0 biome env-setups, 0 clutter  from main

[Info   : Unity Log] 05/17/2024 21:14:44: Added 27 locations, 25 vegetations, 5 environments, 1 biome env-setups, 3 clutter  from main

[Info   : Unity Log] 05/17/2024 21:14:44: Added 4 locations, 0 vegetations, 1 environments, 0 biome env-setups, 0 clutter  from main

[Info   : Unity Log] 05/17/2024 21:14:44: Added 24 locations, 33 vegetations, 8 environments, 2 biome env-setups, 2 clutter  from main

[Info   : Unity Log] 05/17/2024 21:14:44: DungeonDB Start 4751

[Info   : Unity Log] 05/17/2024 21:14:44: ZRpc timeout set to 30s

[Info   : Unity Log] 05/17/2024 21:14:44: ZNET START

[Info   : Unity Log] 05/17/2024 21:14:44: Load world: Asholandos (Asholandos)

[Info   : Unity Log] 05/17/2024 21:14:44: Loading 25591 zdos, my sessionID: 2345191663, data version: 34

[Info   : Unity Log] 05/17/2024 21:14:44: Loading in ZDOs

[Info   : Unity Log] 05/17/2024 21:14:44: Adding to Dictionary

[Info   : Unity Log] 05/17/2024 21:14:44: Adding to Sectors

[Info   : Unity Log] 05/17/2024 21:14:44: Connecting Portals, Spawners & ZSyncTransforms

[Info   : Unity Log] ConnectSpawners => Connected 0 spawners and 6 'done' spawners.
[Info   : Unity Log] 05/17/2024 21:14:44: Loaded 11460 locations

[Info   : Unity Log] 05/17/2024 21:14:44: Unloading unused assets

[Info   : Unity Log] Am I Host? True
[Info   : Unity Log] 05/17/2024 21:14:44: Starting respawn

[Info   : Unity Log] 05/17/2024 21:14:45: Loading minimap textures done [336ms]

[Info   : Unity Log] 05/17/2024 21:14:45: Minimap: unpacking compressed mapData 8357 => 8388658 bytes

[Info   : Unity Log] 05/17/2024 21:14:45: tip:$loadscreen_tip05

[Info   : Unity Log] 05/17/2024 21:14:48: Force generating hmap (64.00, 0.00, 64.00)

[Info   : Unity Log] 05/17/2024 21:14:48: Force generating hmap (64.00, 0.00, 128.00)

[Info   : Unity Log] 05/17/2024 21:14:48: Activating MBRoot: -1435339977

[Error  : Unity Log] ArgumentException: An item with the same key has already been added. Key: 1959580535
Stack trace:
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
ZNetView.Register[T] (System.String name, System.Action`2[T1,T2] f) (at <67f3c386e04446c49523ecfd5b8921c2>:0)
ValheimRAFT.MoveableBaseShipComponent.Awake () (at <b1a8bb6cbd4e48819fd47e1d68b1443d>:0)
UnityEngine.GameObject:AddComponent()
ValheimRAFT.Patches.Ship_Patch:Ship_Awake(Ship)
Ship:DMD<Ship::Awake>(Ship)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
ZNetScene:CreateObject(ZDO)
ZNetScene:CreateObjectsSorted(List`1, Int32, Int32&)
ZNetScene:CreateObjects(List`1, List`1)
ZNetScene:DMD<ZNetScene::CreateDestroyObjects>(ZNetScene)
ZNetScene:Update()

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ValheimRAFT.Patches.Ship_Patch.Ship_Awake (Ship __instance) (at <34a143e39cb9496c8d4d1db0b7bdf175>:0)
(wrapper dynamic-method) Ship.DMD<Ship::Awake>(Ship)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
ZNetScene:CreateObject(ZDO)
ZNetScene:CreateObjectsSorted(List`1, Int32, Int32&)
ZNetScene:CreateObjects(List`1, List`1)
ZNetScene:DMD<ZNetScene::CreateDestroyObjects>(ZNetScene)
ZNetScene:Update()

[Info   : Unity Log] 05/17/2024 21:14:48: Activating MBRoot: -1435340017

[Error  : Unity Log] ArgumentException: An item with the same key has already been added. Key: 1959580535
Stack trace:
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
ZNetView.Register[T] (System.String name, System.Action`2[T1,T2] f) (at <67f3c386e04446c49523ecfd5b8921c2>:0)
ValheimRAFT.MoveableBaseShipComponent.Awake () (at <b1a8bb6cbd4e48819fd47e1d68b1443d>:0)
UnityEngine.GameObject:AddComponent()
ValheimRAFT.Patches.Ship_Patch:Ship_Awake(Ship)
Ship:DMD<Ship::Awake>(Ship)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
ZNetScene:CreateObject(ZDO)
ZNetScene:CreateObjectsSorted(List`1, Int32, Int32&)
ZNetScene:CreateObjects(List`1, List`1)
ZNetScene:DMD<ZNetScene::CreateDestroyObjects>(ZNetScene)
ZNetScene:Update()

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ValheimRAFT.Patches.Ship_Patch.Ship_Awake (Ship __instance) (at <34a143e39cb9496c8d4d1db0b7bdf175>:0)
(wrapper dynamic-method) Ship.DMD<Ship::Awake>(Ship)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
ZNetScene:CreateObject(ZDO)
ZNetScene:CreateObjectsSorted(List`1, Int32, Int32&)
ZNetScene:CreateObjects(List`1, List`1)
ZNetScene:DMD<ZNetScene::CreateDestroyObjects>(ZNetScene)
ZNetScene:Update()

[Info   : Unity Log] 05/17/2024 21:14:48: Activating MBRoot: -350084154

[Error  : Unity Log] ArgumentException: An item with the same key has already been added. Key: 1959580535
Stack trace:
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
ZNetView.Register[T] (System.String name, System.Action`2[T1,T2] f) (at <67f3c386e04446c49523ecfd5b8921c2>:0)
ValheimRAFT.MoveableBaseShipComponent.Awake () (at <b1a8bb6cbd4e48819fd47e1d68b1443d>:0)
UnityEngine.GameObject:AddComponent()
ValheimRAFT.Patches.Ship_Patch:Ship_Awake(Ship)
Ship:DMD<Ship::Awake>(Ship)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
ZNetScene:CreateObject(ZDO)
ZNetScene:CreateObjectsSorted(List`1, Int32, Int32&)
ZNetScene:CreateObjects(List`1, List`1)
ZNetScene:DMD<ZNetScene::CreateDestroyObjects>(ZNetScene)
ZNetScene:Update()

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ValheimRAFT.Patches.Ship_Patch.Ship_Awake (Ship __instance) (at <34a143e39cb9496c8d4d1db0b7bdf175>:0)
(wrapper dynamic-method) Ship.DMD<Ship::Awake>(Ship)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
ZNetScene:CreateObject(ZDO)
ZNetScene:CreateObjectsSorted(List`1, Int32, Int32&)
ZNetScene:CreateObjects(List`1, List`1)
ZNetScene:DMD<ZNetScene::CreateDestroyObjects>(ZNetScene)
ZNetScene:Update()

[Info   : Unity Log] 05/17/2024 21:14:48: Activating MBRoot: -1435340042

[Error  : Unity Log] ArgumentException: An item with the same key has already been added. Key: 1959580535
Stack trace:
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
ZNetView.Register[T] (System.String name, System.Action`2[T1,T2] f) (at <67f3c386e04446c49523ecfd5b8921c2>:0)
ValheimRAFT.MoveableBaseShipComponent.Awake () (at <b1a8bb6cbd4e48819fd47e1d68b1443d>:0)
UnityEngine.GameObject:AddComponent()
ValheimRAFT.Patches.Ship_Patch:Ship_Awake(Ship)
Ship:DMD<Ship::Awake>(Ship)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
ZNetScene:CreateObject(ZDO)
ZNetScene:CreateObjectsSorted(List`1, Int32, Int32&)
ZNetScene:CreateObjects(List`1, List`1)
ZNetScene:DMD<ZNetScene::CreateDestroyObjects>(ZNetScene)
ZNetScene:Update()

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ValheimRAFT.Patches.Ship_Patch.Ship_Awake (Ship __instance) (at <34a143e39cb9496c8d4d1db0b7bdf175>:0)
(wrapper dynamic-method) Ship.DMD<Ship::Awake>(Ship)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
ZNetScene:CreateObject(ZDO)
ZNetScene:CreateObjectsSorted(List`1, Int32, Int32&)
ZNetScene:CreateObjects(List`1, List`1)
ZNetScene:DMD<ZNetScene::CreateDestroyObjects>(ZNetScene)
ZNetScene:Update()

[Info   : Unity Log] 05/17/2024 21:14:48: Activating MBRoot: -763944732

[Error  : Unity Log] ArgumentException: An item with the same key has already been added. Key: 1959580535
Stack trace:
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
ZNetView.Register[T] (System.String name, System.Action`2[T1,T2] f) (at <67f3c386e04446c49523ecfd5b8921c2>:0)
ValheimRAFT.MoveableBaseShipComponent.Awake () (at <b1a8bb6cbd4e48819fd47e1d68b1443d>:0)
UnityEngine.GameObject:AddComponent()
ValheimRAFT.Patches.Ship_Patch:Ship_Awake(Ship)
Ship:DMD<Ship::Awake>(Ship)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
ZNetScene:CreateObject(ZDO)
ZNetScene:CreateObjectsSorted(List`1, Int32, Int32&)
ZNetScene:CreateObjects(List`1, List`1)
ZNetScene:DMD<ZNetScene::CreateDestroyObjects>(ZNetScene)
ZNetScene:Update()

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ValheimRAFT.Patches.Ship_Patch.Ship_Awake (Ship __instance) (at <34a143e39cb9496c8d4d1db0b7bdf175>:0)
(wrapper dynamic-method) Ship.DMD<Ship::Awake>(Ship)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
ZNetScene:CreateObject(ZDO)
ZNetScene:CreateObjectsSorted(List`1, Int32, Int32&)
ZNetScene:CreateObjects(List`1, List`1)
ZNetScene:DMD<ZNetScene::CreateDestroyObjects>(ZNetScene)
ZNetScene:Update()

[Info   : Unity Log] 05/17/2024 21:14:48: Activating MBRoot: -59919994

[Error  : Unity Log] ArgumentException: An item with the same key has already been added. Key: 1959580535
Stack trace:
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
ZNetView.Register[T] (System.String name, System.Action`2[T1,T2] f) (at <67f3c386e04446c49523ecfd5b8921c2>:0)
ValheimRAFT.MoveableBaseShipComponent.Awake () (at <b1a8bb6cbd4e48819fd47e1d68b1443d>:0)
UnityEngine.GameObject:AddComponent()
ValheimRAFT.Patches.Ship_Patch:Ship_Awake(Ship)
Ship:DMD<Ship::Awake>(Ship)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
ZNetScene:CreateObject(ZDO)
ZNetScene:CreateObjectsSorted(List`1, Int32, Int32&)
ZNetScene:CreateObjects(List`1, List`1)
ZNetScene:DMD<ZNetScene::CreateDestroyObjects>(ZNetScene)
ZNetScene:Update()

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ValheimRAFT.Patches.Ship_Patch.Ship_Awake (Ship __instance) (at <34a143e39cb9496c8d4d1db0b7bdf175>:0)
(wrapper dynamic-method) Ship.DMD<Ship::Awake>(Ship)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
ZNetScene:CreateObject(ZDO)
ZNetScene:CreateObjectsSorted(List`1, Int32, Int32&)
ZNetScene:CreateObjects(List`1, List`1)
ZNetScene:DMD<ZNetScene::CreateDestroyObjects>(ZNetScene)
ZNetScene:Update()

[Info   : Unity Log] 05/17/2024 21:14:53: Spawned after 8,019994

[Info   : Unity Log] 05/17/2024 21:14:53: Skipping unloading unused assets

[Info   : Unity Log] 05/17/2024 21:14:53: Minimap: Adding unique location (-0.90, 54.80, 6.50)

[Info   : Unity Log] 05/17/2024 21:15:00: Setting selected recipe 0

[Info   : Unity Log] 05/17/2024 21:15:04: Disabling OnboardTrigger  character_trigger

[Info   : Unity Log] 05/17/2024 21:15:04: Disabling FloatCollider  Ignore Raycast

[Info   : Unity Log] 05/17/2024 21:15:06: Activating MBRoot: -1949750017

[Error  : Unity Log] ArgumentException: An item with the same key has already been added. Key: 1959580535
Stack trace:
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
ZNetView.Register[T] (System.String name, System.Action`2[T1,T2] f) (at <67f3c386e04446c49523ecfd5b8921c2>:0)
ValheimRAFT.MoveableBaseShipComponent.Awake () (at <b1a8bb6cbd4e48819fd47e1d68b1443d>:0)
UnityEngine.GameObject:AddComponent()
ValheimRAFT.Patches.Ship_Patch:Ship_Awake(Ship)
Ship:DMD<Ship::Awake>(Ship)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
Player:DMD<Player::PlacePiece>(Player, Piece)
Player:UpdatePlacement(Boolean, Single)
Player:DMD<Player::Update>(Player)

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ValheimRAFT.Patches.Ship_Patch.Ship_Awake (Ship __instance) (at <34a143e39cb9496c8d4d1db0b7bdf175>:0)
(wrapper dynamic-method) Ship.DMD<Ship::Awake>(Ship)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
Player:DMD<Player::PlacePiece>(Player, Piece)
Player:UpdatePlacement(Boolean, Single)
Player:DMD<Player::Update>(Player)

[Info   : Unity Log] 05/17/2024 21:15:06: Placed MBRaft

[Info   : Unity Log] 05/17/2024 21:15:06: Disabling OnboardTrigger  character_trigger

[Info   : Unity Log] 05/17/2024 21:15:06: Disabling FloatCollider  Ignore Raycast

[Info   : Unity Log] 05/17/2024 21:15:10: Disabling OnboardTrigger  character_trigger

[Info   : Unity Log] 05/17/2024 21:15:10: Disabling FloatCollider  Ignore Raycast

[Info   : Unity Log] 05/17/2024 21:15:10: Disabling OnboardTrigger  character_trigger

[Info   : Unity Log] 05/17/2024 21:15:10: Disabling FloatCollider  Ignore Raycast

Environment

OS:
- **OS**: Windows 11
- **Graphics**: DX11
Mods:
- **BepInEx**: 5.4.2202
- Jotunn 2.20.0
- **ValheimRAFT**: 2.0.1
m4rcus25 commented 1 month ago

fixed with 2.0.4