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
12 stars 5 forks source link

Incompatible with More Vanilla Build Prefabs #80

Closed The-Frenchy closed 4 months ago

The-Frenchy commented 4 months ago

What happened?

All attempts to build a raft will result in floating parts. EDIT: Only happens when the two mods are enabled simultaneously

image

Steps to reproduce

No response

Log outputs

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ValheimRAFT.Patches.Player_Patch.PlacedPiece (Player player, UnityEngine.GameObject gameObject) (at <29ab4afd77064c2cb94779e0be45d334>:0)
(wrapper dynamic-method) Player.DMD<Player::PlacePiece>(Player,Piece)
(wrapper dynamic-method) Player.DMD<Player::UpdatePlacement>(Player,bool,single)
(wrapper dynamic-method) Player.DMD<Player::Update>(Player)

Environment

OS:
- **OS**: Windows 11
- **Graphics**: DX11
Mods:
- **BepInEx**: 5.4.2202
- Jotunn 2.20.0
- **ValheimRAFT**: Major.Minor.Patch
zolantris commented 4 months ago

83 fixes it