Quick answer: Unity Cinemachine Confiner2D restricting camera to a fixed-axis rect but the target rotated? Confiner uses world-axis bounds - use a Composite Collider or rotate the confiner rect.
Top-down game where the world rotates. Confiner stays axis-aligned; restricted area visibly shifts wrong.
Use a rotating confiner shape
Custom polygon collider that rotates with the world. Confiner reads the polygon; axis-aligned not required.
Or use a Composite Collider
Composite of axis-aligned rects pre-rotated. Same effect; works with built-in confiner.
Disable confiner when rotating
Toggle off during rotation; toggle on at integer-rotation states. Trades flexibility for simplicity.
“Cinemachine constraints are world-space. Rotating worlds need rotated constraints.”
If your camera setup is non-standard, the built-in components may be ill-suited. Custom constraints are often clearer than fighting the defaults.