Don't know if this helps, but in this particular situation I was hosting a multi when the bug happened and I got stuck by walls forming a right triangle shape (see first video). It was interesting enough that I decided to try to reproduce it, which is the second video, where I got stuck in a square. These two incidents should be the same bug. The two incidents were in the same session, but unfortunately I didn't think of preserving the log at the time and multiple game relaunches had occurred afterwards.
https://youtu.be/Bm8YXCG_ZHg
https://youtu.be/z83B4nNgYP8
[0.17.12] wall getting player stuck
Re: [0.17.12] wall getting player stuck
Thanks for the report. This is a known issue that we don't consider worth fixing due to the complications it would add.
If you want to get ahold of me I'm almost always on Discord.