[0.10.22] Buggy collision if you saved the game in a building you modified

Curated user bug reports with enough information to reproduce problem. Moderators will move topics here from Help & Support once a bug has been confirmed and enough information has been provided.
Post Reply
User avatar
XJDHDR
Posts: 95
Joined: Thu Jan 10, 2019 5:15 pm
Location: New Zealand
Contact:

[0.10.22] Buggy collision if you saved the game in a building you modified

Post by XJDHDR »

First, I want to preface this by saying that this glitch only occurs if I have Handpainted Models - Main activated. I just want to check whether there is something in DFU that is exacerbating the issue.

I ran across a physics glitch while modifying a store's interior. I saved my game inside a shop and then started modifying it. I have noticed that when I loaded the save to test my changes, the spot that I was standing on when the game loaded now has an invisible object that my character can't move through. I then exited and re-entered the store and found that now I was stuck in place.

Here are the files you can use to reproduce this problem:
Store mod collision bug reproduction.zip
Files to reproduce physics issue.
(783.2 KiB) Downloaded 17 times
The JSON file goes into WorldData and the folder to Saves.

I also included my output_log where I saw an ArgumentOutOfRangeException: Argument is out of range. error on line 2097.

Here are 2 other saves I made where this issue does not occur. The one was saved outside the store. The other was saved inside with my JSON's changes applied. Neither of these saves have the problem above.
Store mod working saves.zip
Saves that have no issues.
(1.66 MiB) Downloaded 18 times
These problems don't occur if I have Handpainted Models - Main deactivated. Nor does it happen if the game doesn't load my JSON. Nor if I load a save from outside the store OR inside after I modded it. It is only with all three together that these problems occur.

What I suspect is that a copy of the PC's collision model became detached from the PC somehow and became something the player can now collide with. And that it got moved to my location when I re-entered the store.
My DF Unity mods:
Skip Intro Video

My other creations and essays:
https://xjdhdr.gitlab.io/

User avatar
Interkarma
Posts: 5823
Joined: Sun Mar 22, 2015 1:51 am

Re: [0.10.22] Buggy collision if you saved the game in a building you modified

Post by Interkarma »

This sounds a lot like below issue.

https://github.com/Interkarma/daggerfal ... ssues/1706

I wonder if the player is also stuck on map beacon/marker objects that have become physical.

User avatar
XJDHDR
Posts: 95
Joined: Thu Jan 10, 2019 5:15 pm
Location: New Zealand
Contact:

Re: [0.10.22] Buggy collision if you saved the game in a building you modified

Post by XJDHDR »

It looks like this is the same problem. In fact, I think it is the Player Marker I was colliding with rather than a copy of the Player's Collision capsule.

It looks like the main difference between our reports is that modding an interior while Handpainted Models is already installed also triggers this bug.
My DF Unity mods:
Skip Intro Video

My other creations and essays:
https://xjdhdr.gitlab.io/

User avatar
TheLacus
Posts: 1262
Joined: Wed Sep 14, 2016 6:22 pm
Contact:

Re: [0.10.22] Buggy collision if you saved the game in a building you modified

Post by TheLacus »

Also see here.
Mod System documentation - Learn how to create mods for Daggerfall Unity.
Modder Discussion - General help and discussion for the mod system.
Github Issues - Submit a bug report for the game, including the mod system.

Post Reply