godotengine / godot

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

ERROR: Updating textures forbidden during creation of a draw list (ResourceLoader.LoadThreadedRequest) #47713

Open Cat-Lips opened 3 years ago

Cat-Lips commented 3 years ago

Godot version: Godot Engine v4.0.dev.mono.custom_build.f7ae5442a

OS/device including version: Windows 10

Issue description: Loading a scene with images using ResourceLoader.LoadThreadedRequest triggers the following error (and textures do not appear when loaded):

ERROR: Updating textures in is forbidden during creation of a draw or compute list
   at: (drivers/vulkan/rendering_device_vulkan.cpp:2281)

Steps to reproduce: Run test project; Console shows output with error.

Minimal reproduction project: New Game Project.zip

Calinou commented 3 years ago

@Cat-Lips Can you reproduce this in GDScript, or is this C#-only?

Cat-Lips commented 3 years ago

@Cat-Lips Can you reproduce this in GDScript, or is this C#-only?

Yes, I can confirm this also occurs with GDScript. New Game Project (gdscript).zip