godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.95k stars 21.15k forks source link

Trying to make a new Image in the editor outputs an error #46206

Open ghost opened 3 years ago

ghost commented 3 years ago

Godot version:

3.2.4.rc2

OS/device including version:

Windows 10

Issue description:

I got an error in the output but I expected a new Image to be created. If I'm not supposed to be able to create a new Image this way then I probably shouldn't be allowed to. The error was: drivers/gles3/rasterizer_storage_gles3.cpp:1105 - Condition "texture->data_size == 0 && !texture->render_target" is true. Returned: Ref<Image>()

Steps to reproduce:

  1. Make TextureRect
  2. Add new ImageTexture as texture
  3. Attempt to add new Image as image

Minimal reproduction project:

Nosrick commented 3 years ago

Just seconding this is happening on v3.2.3.stable.mono.official.