@export Texture2DArray not droppable

Godot Version



I’ve added a Texture2DArray type export with a getter/setter like follows, on a tool:


extends Node3D

var _textures:Texture2DArray

@export var textures:Texture2DArray:
	get: return _textures
	set(textures): _textures = textures; update()

But when I try dragging an actual Texture2DArray image over it, it persistently rejects it (it gives me the red crossed circle).

What am I doing wrong?

I apologize if I haven’t provided enough details. Please ask, and I’ll try to fill in anything missing.


Does it work if you remove the setter and getter?

You have to import the selected images as Texture2DArray else they all are just CompressedTexture2D