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

Lone Custom Sail, Can't Interact or Delete #100

Open cougarten opened 3 months ago

cougarten commented 3 months ago

What happened?

how I made things worse:

Picture:

It seems like my second raft can still collide with the sail

I'd also be happy with a way to delete the boat (or all boats)

Steps to reproduce

not sure, don't want a second ghost-sail in the way

Log outputs

only interesting log in BepInEx

[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] 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] [Physics.PhysX] QuickHullConvexHullLib::findSimplex: Simplex input points appers to be coplanar.
[Error  : Unity Log] Failed to create Convex Mesh from source mesh "". An internal unspecified error has occured that could mean the Quickhull algorithm found the input mesh topologically challenging.
[Error  : Unity Log] Cannot initialize Cloth: Unable to extract collision mesh.
[Error  : Unity Log] [Physics.PhysX] QuickHullConvexHullLib::findSimplex: Simplex input points appers to be coplanar.
[Error  : Unity Log] Failed to create Convex Mesh from source mesh "". An internal unspecified error has occured that could mean the Quickhull algorithm found the input mesh topologically challenging.

Environment

OS:
- **OS**: Windows 10
Mods:
- **ValheimRAFT**: 2.1.1
cougarten commented 3 months ago

managed to push the thing out of my base with a second raft :)

Snayjay commented 3 months ago

I have the same problem. I built a sail... screwed it up and tried to remove it. I ended up removing the green handles because I didn't know better. Now I just have a sail floating mid air near my dock. I have moved it out to see a bit but still in the general vicinity. Worse though it seems once you have assets in the world you can't remove ValheimRaft. I tried to remove it today (disabled first) so I could test why another mod wasn't working anymore (Epic Loot). But then I got the error Valheim Raft needed to be installed. So after disabling didn't work I tried removing both the .dll and the .cfg files and I still get the error. I'm assuming it's because the assets are in the game. Mods are awesome and this one is pretty damn game changing but I hate it when they don't work.

zolantris commented 3 months ago

For the sail, manually delete it. Go near it and run the command (f5 console) forcedelete MBSail 5. This will nuke all sails with a 5 radius. So beware.

For most mods this should be a good tool to nuke glitchy items. Alternatives are Unity-Explorer but it doesn't delete game object data usually when deleting objects directly (unless it's been built-in). So it will show up on reload.

Not sure how you are disabling things but using a mod manager such as r2modman will work. There should be no problems removing raft.

But the game will attempt to delete/garbage collect prefabs/objects that do not exist so you will likely need to revert a world where you remove raft temporarily to debug if you have used raft objects.

ManlyAngel commented 2 months ago

Hello, I too have this problem although the forcedelete command did not work. I tried vehicle recover and this showed up image_2024-07-07_024434511