After you have imported an image to your project, for the most intuitive results, it’s recommended that you apply certain import settings for Textures, Sprites, and Vector images before you use them as a background for a visual element in the UI Builder.
The recommended import settings for a Texture image that you use as a background for a visual element are as follows.
Use the following settings for Default Texture types, and Editor GUI and Legacy GUI Texture types:
| Property | Value |
|---|---|
| Non-Power of 2 | None |
| Compression | None |
| Alpha Is Transparency | true |
Use the following settings for Sprite (2D and UI) Texture types:
| Property | Value |
|---|---|
| Compression | None |
| Alpha Is Transparency | true |
| Sprite Mode | Single |
| Mesh Type | Tight |
The recommended import settings for a Sprite image that you use as a background for a visual element:
| Property: | Value: |
|---|---|
| Compression | None |
| Alpha Is Transparency | true |
| Sprite Mode | Multiple if file contains multiple sprites, Single otherwise. |
| Mesh Type | Tight |
The recommended import settings for a SVG Vector image that you use as a background for a visual element:
| Property: | Value: |
|---|---|
| Generated Asset Type | UI Toolkit Vector Image |
| Tessellation Settings | Basic |
| Target Resolution | Lowest value that produces satisfactory results |
Tip: