ShadowPersonMaterialFix
Fixes the ShadowPerson material error spam, stuttering and freezes in the Deep North biome (Valheim 1.0+ / Unity 6). Client-side, no config needed.ShadowPerson Material Fix
A lightweight client-side mod that fixes the notorious ShadowPerson material error spam in Valheim 1.0+ (Unity 6).
π About
After the Valheim 1.0 update (Unity 6), the game's built-in ShadowPerson material still references the old Standard shader, which no longer supports several texture properties:
_SkinBumpMap_ChestTex_ChestBumpMap_LegsTex_LegsBumpMap_ChestMetal_LegsMetal
Every time the game tries to apply these textures β for example, when ghosts appear in the Deep North biome β Unity floods the log with hundreds of errors, causing stuttering, FPS drops, and even freezes.
This mod fixes the problem at its root: it finds a valid Valheim shader that has all the required properties and swaps it into the ShadowPerson material. Once the shader is replaced, Unity stops throwing errors and performance returns to normal.
β¨ Features
- β
Completely eliminates the
ShadowPersonerror spam in the log - β Fixes stuttering and freezes in the Deep North biome
- β Fixes long loading times when travelling through portals
- β
Three layers of protection:
Renderer.materialpatchRenderer.materialspatchVisEquipmenttranspiler
- β Does not alter gameplay, damage values, or visuals of any other materials
- β Lightweight β no measurable performance impact
- β Works entirely client-side β compatible with multiplayer
π§ Installation
Recommended: Mod Manager (r2modman / Thunderstore Mod Manager)
- Click Install with Mod Manager on the Thunderstore page.
- Launch the game β that's it.
Manual Installation
- Make sure BepInExPack Valheim is installed.
- Extract the contents of the
.zipinto:../Valheim/BepInEx/plugins/ - Launch the game.
βοΈ Configuration
No configuration needed β the mod works out of the box.
If you want to verify it's running, look for log messages tagged [ShadowPerson Material Fix] in:
BepInEx/LogOutput.log
π Requirements
- BepInExPack Valheim β
5.4.2305or newer - Valheim 1.0+
βΉοΈ Known Behavior
On the very first load into a world with active ghosts, you may briefly see a few error lines before the mod's shader swap completes. After that, the log stays clean β this is expected and harmless.
π Feedback & Issues
If the mod doesn't work, causes problems while playing, or behaves incorrectly, please report it on GitHub:
π https://github.com/nezuma/valheim-shadow-person-material-fix/issues
π Author's Note
I ran into this problem myself and decided to fix it with the help of a neural network. Based on testing, the mod successfully handles the shader replacement and should fix the error that causes the ShadowPerson-related stutters.
I needed a quick solution that would fix the situation until the developers patch the game β you can use this workaround in the meantime. If the developers release an official fix, you can safely uninstall this mod.
π Links
- GitHub: https://github.com/nezuma/valheim-shadow-person-material-fix
- Author: nezuma
π Changelog
1.1.0
- Initial release
- Fixed ShadowPerson material error spam
- Added three-layer protection (Renderer.material, Renderer.materials, VisEquipment transpiler)
