[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
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: 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. 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.
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: 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. 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.