Open lotsmon opened 9 months ago
the pattern has not yet been found, butmost often the mast, the steering wheel and sometimes the torch with the floor move off
Hmm... there was a render optimization between >=1.6.8 so 1.6.10 has it.
It made the box issue completely go away (the create items logic was waiting per item per frame). So maybe there is more to it...maybe it needs to be kept but that could slow down the raft POP in effect when a zones load.
Some people were mentioning it taking 30seconds or more to render their raft box...I it was breaking items while it that initial pass.
This is happening to me too, but I haven't found the steps to reproduce it yet.
Try popping the raft in with a zone. IE fly away in dev fly mode (make sure the raft is gone completely, no far away object etc), then return. Is the mast still there? Are there any error logs?
Tested what you suggested.
Flying away does not move the mast, but I got an error:
The error however has happened to me when I've left the raft and gone to explore (far enough so as not to see the raft anymore), spent some time away (enough to get the unload unused references message) and then come back to unload loot, only to find the messed up rigging and steering wheel.
EDIT:
I've been playing in my base and just parked my raft there and got busy defending the base and organizing loot, and it occured. No errors whatsoever in the whole session (I don't think the previous error applies). I don't think the unload of the assets is related either.
EDIT 2:
Thinking of it, I slept, and during sleeping the unloading of the unused assets occurs... that might be related.
After several restarts the problem stopped occurring. This was probably due to a version change or something like that.
I was wrong
This is probably due to the fact that I put the structure on the raft, and then moved away from the raft, thus unloading raft assets
This is not related to the installation of buildings on the raft.
Most often this happens if you teleport to a raft that stands at the other end of the map.
同样遇到这个问题
复现步骤 当看不到船的时候,手动点击保存游戏,回到船所在的位置,船体就支离破碎了
Hi, i have the same issue. From what it looks like that Vanilla and Mods pieces or items are getting separated after unloading. I will try to keep an eye on mods that do not get detached from vanilla part of the boat. But so far the Old Wooden Barrel and Large Wood Crate from Mod OdinsKingdom v1.2.17 by OdinPlus get detached. But OdinArchitect v1.2.7 by OdinPlus items and MissingPieces v2.0.5 by BentoG do not get detached from boat. Tied moving away till boat despawns and got different outcomes: Tried moving away and sleeping. Got detached. Tried moving away and back. Nothing happens , boat loads all fine and intact. Tried moving away and manually saving. Boat gets detached. Only logging out and back in helps now. Is there a way to create some kind of ward that prevents unloading of the raft at all?
Anyone knows whether downgrading the mod fixes this problem? I'm tired of having to recreate the helm, masts, torches and cooking stations...
Also, this could be fixed by having these assets or the whole raft never "unload"... Is that an option?
Requires a rewrite...also preventing unloads would have a resource impact on your machines (per raft zone loaded).
But it's possible. There's a few mods that allow preventing areas from unloading. Adding that might work well for now.
@zolantris Do you remember any of those mods by name so I can look it up?
Also, what I though you could do is: Prevent unloading of certain objects by ID (base, sails, wheel - for a quick fix), or having them "attach" to their relative position to the base-raft, so that when everything else loads back, they'll be where they are supposed to be. Maybe write a method to "bind" these parts that get detached to the base, and we could do it manually.
I wish I could tackle that issue myself, but I can't on my own: I don't know C# well enough. If you wanna voice-chat on discord, lemme know. I might help come up with a solution. :)
Thanks for your time and effort!
There is a workaround to at least use the mod until the issue is fixed. Simply logout and log back on and everything will return to its place.
There is a workaround to at least use the mod until the issue is fixed. Simply logout and log back on and everything will return to its place.
Having to do this every 5 minutes is incredibly frustrating
Having to do this every 5 minutes is incredibly frustrating
Have you tried 1.6.14? It should run the raft zdo update if you are hosting locally now as well.
Have you tried 1.6.14? It should run the raft zdo update if you are hosting locally now as well.
I had to revert due to this issue: https://github.com/zolantris/ValheimMods/issues/53
Will try the new 1.6.14!
There is a workaround to at least use the mod until the issue is fixed. Simply logout and log back on and everything will return to its place.
Having to do this every 5 minutes is incredibly frustrating
I did not mean it as a permanent workaround, I just meant it as a way to give @zolantris some breathing room while it gets fixed.
1.6.14 should fix most of these issues. (other people have reported)
1.6.14 should fix most of these issues. (other people have reported)
My problem is solved.
@zolantris I am on the latest version 1.6.14 and it did fix it initially but it somehow got worse as I played more.
Before the update only a few things would be out of place as OP described, but now the entire ship dissappears leaving behind a few things. The workaround still works though by logging out and in.
Checking the logs didn't yield anything. I can try to record a video if that would help.
What happened?
When reloading assets, some objects on the boat change their location. Fixed by re-entering the world.
Steps to reproduce
Environment