godotengine / godotengine/godot

AtlasTexture under CanvasTexture's diffuse renders solid white

Open
#95,089 0 comments 0 reactions 0 assignees View on GitHub
bug topic:2d topic:rendering
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

4.2.1 and 4.2.2 both stable official

### System information

Godot v4.2.1.stable - Windows 10.0.22631 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 32.0.15.5585) - 13th Gen Intel(R) Core(TM) i7-13700KF (24 Threads)

### Issue description

Adding a CanvasTexture to Sprite2D, then adding an AtlasTexture and defining area to the Diffuse option of the CanvasTexture. First the sprite in the editor looks empty and when i move it it becomes pure white instead showing the texture I defined. No matter the image file type.
Re opening the scene sometimes fixes it.

![image](https://github.com/user-attachments/assets/f3289981-dc7a-4ffc-9809-84ec9d6a694b)

### Steps to reproduce

Create a Sprite2D > add a CanvasTexture Resource > open diffuse option of the Canvas Texture > add an AtlasTextrure > put a texture in it and define an area using the AtlasTexture editor > move the transparent sprite in the editor

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.