Hi there,
does anybody know, why sprite.bounds.extends.z equals to 0.1? Is this by design or a bug? If by design, why?
Note that the spriteRenderer’s transform is aligned with XY plane, but it should not matter at all, because these are Sprite’s bounds, not SpriteRenderer’s.
I can’t say for sure, but as I recall unity 2D was originally, and probably still is to some extend, just a 2D mod of the 3D engine. As such, everything needs some size in all 3 dimensions.