We just tested, it only happens when the host player is moved by the shulker box when as it is opening by bering pushed(any direction). The host stays in, but the person connected to the host crashes. I haven't tested with more than 1 person or on multiplayer realms. (Or servers)
Is there any way to bypass this, because I was having the same error.