When downloading an image from the server, does the image size change?

I am trying to use an image downloaded from the server as a texture.

In Unity Editor, image size changes depending on MaxSize.
When I download an image from the server and apply it to a texture, does the size of the image change as it changed in the editor?

Or do you just use the downloaded image size?

You’re confusing assets and objects.

Assets are data that lives in your disk. Objects are data that lives in memory.

Unity’s editor imports assets to convert them into objects that can be used at runtime, the asset’s import inspector exposes some settings that determine how this conversion happens. In the case of textures these settings include MaxSize, filtering settings, compression, etc.

When you download an image from the server at runtime, it only exists in memory unless you explicitly store its contents into a file (.png, .jpeg, etc) and tell Unity’s editor to create an asset out of it. So import settings (such as MaxSize) don’t apply at all.

3 Likes