Crop UI image and convert it as Sprite

Hi!

On our game, we need to load an image from the Android gallery and crop it as an avatar. Loading the file is already done, and we use it as an UI Image, but then cropping it wasn’t sucessful. We need to use UI for this because how our game works, also it works better with Rect objects, but we need to retrive pixel data from the Image and convert it to a new Sprite.

Thanks in advance.

Have you tried setting your canvas to “World Space”, because then you can literally just plop the sprite in 3D space and have it still render.