TextureRect are not working in Godot?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Wurzelpilz

The texture is simply not visible, path is correct.

enter image description here

Does it work with Sprite ?

Inces | 2022-08-18 14:19

no does not :expressionless:

Wurzelpilz | 2022-08-18 15:07

without canvas layer ?

Inces | 2022-08-18 19:11

:bust_in_silhouette: Reply From: mrfatalo

Check the inspector of TextureRect and select Rect.
If size is x = 0 and y = 0 will not be displayed because dont have size.

enter image description here