Skip to content

CompressedTexture2DArray not loading properly #106627

@blackears

Description

@blackears

Tested versions

v4.4.1.stable.official [49a5bc7]

System information

Godot v4.4.1.stable - Windows 10 (build 19045) - Multi-window, 2 monitors - Vulkan (Mobile) - dedicated AMD FirePro W2100 (Advanced Micro Devices, Inc.; 27.20.21026.2006) - Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz (4 threads)

Issue description

I followed the instructions for importing a .png file as a Texture2DArray, but the imported texture is blank. When I view it in the Inspector, every page of the array is blank and when I attempt to use it in a shader, it is blank there too.

Image

Image

Steps to reproduce

Run the attached project. Select terrain_array_diffuse.png in the FileSystem, and then look at its import settings in the Import tab. It should be set up to import as a Texture2DArray. Look in the Inspector and see that none of the array pages are loaded correctly.

Open the main.tscn project. It has a simple shader set up that should render the first texture in the array, but it is only rendering the default color.

Minimal reproduction project (MRP)

arrayTexture.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions