You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For me it only happens at the Forward+ Renderer. Mobile and Compatibility are working as expected. The workaround suggested (background_canvas_max_layer = 1) does not fix the behavior on my end.
Steps to reproduce
Create 3D environment.
Add CanvasLayer
Inherit Sprite 2D
Add WorldEnvironment
Create Environment and set Background mode as Canvas
I cannot reproduce this bug on Beta 16 running on macOS 12.6.1 intel iris 6100 graphics. Nor can I reproduce on my PopOS 22.04 device (intel Xe graphics).
I tried to repro with the attached MRP and a clean project.
@clayjohn this is the error that pops up while swapping to Canvas in the Background of the Environment, I attach the full text output as a .txt, the error shows at line 202.
[mvk-info] Created 3 swapchain images with initial size (106, 128) and contents scale 2.0 for screen Built-in Retina Display. [mvk-error] VK_ERROR_DEVICE_LOST: MTLCommandBuffer "vkQueueSubmit CommandBuffer on Queue 0-0" execution failed (code 2): Caused GPU Timeout Error (00000002:kIOAccelCommandBufferCallbackErrorTimeout)
EDIT: After googling the error and further testing, I can confirm it is a performance issue on my Mac.
Eliminating random processes from the services running in the background allowed my GPU to properly finish whatever Godot was attempting to do when setting the background as Canvas. Looks like I either clean up demanding services when I'm working on my project or upgrade to an M1 at this point. Not quite sure if there is anything you can do at Godot's end as I'm confirming it is a performance issue caused by my low/old specs.
Godot version
v4.0.beta11.official
System information
macOS 12.6.1, Forward+ (Vulkan?), Intel Iris Graphics 550 1536 MB
Issue description
Editor becomes unusable when WorldEnvironment Background Mode is set as Canvas (freezes editor).
Can still reproduce at v4.0.beta16.official [518b9e5]
Coming from [68805] as suggested by @clayjohn
For me it only happens at the Forward+ Renderer. Mobile and Compatibility are working as expected. The workaround suggested (background_canvas_max_layer = 1) does not fix the behavior on my end.
Steps to reproduce
Minimal reproduction project
CanvasBackgroundBug.zip
The text was updated successfully, but these errors were encountered: