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

Lag, no sails, crashes *Solved* #49

Open ma11088 opened 9 months ago

ma11088 commented 9 months ago

What happened?

lag and sails in preexisting game on dedicated server disappeared. Repeating strings of red text. None of this appears in local world save, however, the anchor points are impossible to place correctly - the mast becomes twisted, sometimes becoming flat when you approach it, and the skull is always on it's side

eventual;y it disconnects from the server and sends me to the main menu.

Steps to reproduce

connect to dedicated server world

LogOutput.log

Log outputs

[Error  :ValheimRAFT.SailComponent] SailCornersCount: 0 is corrupt or mismatches the last ValheimRAFT version. Destroying this component to prevent errors

[Error  : Unity Log] Unable skin the associated mesh with bone count: 0, Cloth component disabled. Please check that at least one of the bones is assigned.

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ZNetScene.RemoveObjects (System.Collections.Generic.List`1[T] currentNearObjects, System.Collections.Generic.List`1[T] currentDistantObjects) (at <dbd2a6fbcde9498cadcacfb37ef883e3>:0)
(wrapper dynamic-method) ZNetScene.DMD<ZNetScene::CreateDestroyObjects>(ZNetScene)
ZNetScene.Update () (at <dbd2a6fbcde9498cadcacfb37ef883e3>:0)

Environment

OS:
- **OS**: Windows 11 
- **Graphics**: DX11 
Mods:
- **BepInEx**: 5.4.22.0
- Jotunn 2.16.1
- **ValheimRAFT**: 1.6.10
[MoreSlotsPatcher 1.1.0]
[CookingStationTweaks 0.6.0]
[Craft From Containers 3.5.0]
[AzuAreaRepair 1.1.3]
[ImFRIENDLYDAMMIT 1.1.2]
[NoCultivatorDust 1.0.4]
[NoHoeDust 1.0.4]
[badgers Valheim Skies 0.9.0]
[Hunting 1.3.1]
[Floors Are Roofs 2.0.2]
[AssemblyLine 1.1.0]
[FloatingItems 1.0.0]
[Pageable Build Hud 1.0.2]
[MissingPieces 2.0.5]
[TeleportEverything 2.6.1]
[Use Equipment in Water 0.2.4]
[Longer Pet Names 1.0.0]
[Skills Give More Carry Weight 1.0.3]
[BuildPieces 1.5.1]
[SeafloorWalkingBoots 1.0.2]
[BuildSpace 1.0.4.0]
[Comfortable 1.0.3.0]
[Better Wisps 1.0.25]
[Digitalroot TripleBronzeJVL 1.1.36]
[ChestName 1.1.1]
[NoAFKEvents 1.0.2]
[OdinsFoodBarrels 1.0.16]
[More Gates 1.0.10]
[Item Stand All Items 1.20]
[Safe Death 1.2.1]
[FuelEternal 1.2.1]
[Speedy Paths Mod 1.0.8]
[Farming 2.1.12]
[Foraging 1.0.8]
[Jewelcrafting 1.5.13]
[Ranching 1.1.3]
[Sailing 1.1.7]
[Display BepInEx Info In-Game 2.0.2]
[HD Map Enabler 1.1.0]
[BetterLanterns 1.0.6]
[Equipment and Quick Slots 2.1.13]
[Smoke Collision 1.8]
[BlastFurnaceTakesAll 1.0.3]
[No Rain Damage 1.2.1]
[More Slots 1.1.6]
[Willybachs HD Additions 0.2.6]
[PreWorkout 0.2]
[Comfort Tweaks 3.2.10]
[Snap Points Made Easy 1.3.3]
ma11088 commented 9 months ago

I have downgraded to 1.6.4, and got my sails back. I still have the same red text, though.

I removed all mods except valheimraft 1.6.4 and still had [Error : Unity Log] Unable skin the associated mesh with bone count: 0, Cloth component disabled. Please check that at least one of the bones is assigned. in red text spammed.

The red text only spammed me once I took a portal from my ship back to my main base. I tried reloading and removing my sail before teleporting back to mainbase and had the same result.

I also saw this red text: [error :valheimraft.moveable base root component] server must call, test log to see if server calls this

zolantris commented 8 months ago

1.6.4 was a bit log heavy. There was some confusion about what functionality actually runs on the server hence those "Server must call" logs. Sorry about that.

zolantris commented 8 months ago

I advise removing 1.6.4 sails and upgrading to higher versions. The sails data storage is corrupt in lower versions which is why there was black sails showing up. Later versions completely refactor the data storage retrieval.

SailComponent with zero attach points would be corrupt sails, hence why they would be removed.

zolantris commented 8 months ago

Can you upload your worldsave here? It's possible I could fix the log spam and make the upgrade smoother.

ma11088 commented 8 months ago

I'll try the higher versions tonight and see what happens!

Main base is right beside the spawn point, and there is a portal to my ship on the far right side in the courtyard

https://drive.google.com/file/d/1Z0tej37NJ5AYVRTCH8nfgBU7WL_cPovK/view?usp=sharing

ma11088 commented 8 months ago

I advise removing 1.6.4 sails and upgrading to higher versions. The sails data storage is corrupt in lower versions which is why there was black sails showing up. Later versions completely refactor the data storage retrieval.

SailComponent with zero attach points would be corrupt sails, hence why they would be removed.

I tried using the latest rafts mod by itself, got the same errors as before: sails disappeared, same red text. I also tried using 1.6.4 but with the latest sails files, and got the same errors I did when I used 1.6.4: sails loaded, but same red text. as prior install of 1.6.4

ma11088 commented 8 months ago

Used Unity Explorer to find and remove the ValheimRAFT.SailComponent. All red text is gone, everything is working as it should.