When I am using the BABYLON.Tools.CreateScreenshotUsingRenderTarget function in the WebGPU enviroment, I got the chrome warnning message like this:
logger.ts:107 BJS - [14:09:14]: WebGPU uncaptured error (1): [object GPUValidationError] - Destroyed texture [Texture (unlabeled 1022x556 px, TextureFormat::BGRA8Unorm)] used in a submit.
While calling [Queue].Submit([[CommandBuffer from CommandEncoder “upload”], [CommandBuffer from CommandEncoder “render”]])
And the screenshot is empty.
Is it a bug?
Additionally, will I encounter other compatibility issues in the WebGPU environment?