godotengine / godotengine/godot
Setting a CanvasTexture inside AnimatedTexture spams debug with errors
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
Reproducible in 4.2.1 and 4.3 dev 4
### System information
Godot v4.3.dev4 - Windows 10.0.19045 - Vulkan (Forward+) - dedicated AMD Radeon RX 7800 XT (Advanced Micro Devices, Inc.; 31.0.24002.92) - AMD Ryzen 5 5600X 6-Core Processor (12 Threads)
### Issue description
Trying to set an empty CanvasTexture as the first frame in a AnimatedTexture resource spams the console with errors:

### Steps to reproduce
1. Add a Sprite2D node
2. Set the texture to AnimatedTexture
3. Set `Frame 0` texture to CanvasTexture

### Minimal reproduction project (MRP)
N/A
Contributor guide
Assessment
This issue has not been assessed yet.