Page 1 of 1

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

Posted: Mon May 04, 2020 9:37 am
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 115 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 119 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.

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

Posted: Mon May 04, 2020 11:38 am
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.

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

Posted: Mon May 04, 2020 5:48 pm
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.

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

Posted: Mon May 04, 2020 8:55 pm
by TheLacus
Also see here.