Skip to content

Viewport debug example in web has a visual difference between the two uinode trees #14409

Open

Description

Bevy version

0.14 from the browser: https://bevyengine.org/examples/ui-user-interface/viewport-debug/

[Optional] Relevant system information

image

Version 126.0.6478.183 (Official Build) (arm64)

What you did

Go here https://bevyengine.org/examples/ui-user-interface/viewport-debug/

What went wrong

Look at the visual diff / shift on webgl2 and webgpu examples. The example comment says:

If there are no problems both layouts should be identical, except for the color of the margin changing which is used to signal that the displayed uinode tree has changed

So I'm expecting this shift to not happen, so looks like a bug to me.

Screen.Recording.2024-07-21.at.11.21.55.AM-webgl2.mov
Screen.Recording.2024-07-21.at.11.23.39.AM-webgpu.mov

But it works fine on macos:

Screen.Recording.2024-07-21.at.11.25.00.AM-macos.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-WebSpecific to web (WASM) buildsSpecific to web (WASM) buildsS-Needs-InvestigationThis issue requires detective work to figure out what's going wrongThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions