The standard example is to let $X$ be the affine plane over a field,
and $U=X-\{(0,0)\}$.