When a player goes unconscious they will sometimes clip into a wall. Upon waking up they might be stuck. The same will probably happen with objects other than walls.
1.12 made going unconscious common so players will encounter this issue more frequently going forward.
Seems to happen more in tight spaces. Maybe the game is trying to prevent the player from clipping into one object and as a result the player gets pushed into another object.