ACharacter's UnCrouch very buggy

One way to solve this specifically would be, prior to executing uncrouch, to do a capsule trace upward and check for hits against objects you don’t want to be able to uncrouch into. If there are no hits, then execute uncrouch, if there are hits, then don’t.

My personal preference is to use a range between crouched and fully upright, rather than the out of box modes, and resize the capsule, change walk speeds etc. accordingly, but it all depends on what you want to do.