Skip to content

Some meshes not rendering in 0.16-rc.1 #18550

@alec-deason

Description

@alec-deason

Bevy version

0.16-rc.1

[Optional] Relevant system information

Linux, wayland (sway) and maybe also xwayland, intel gpu

2025-03-25T20:49:12.292198Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux (Arch Linux rolling)", kernel: "6.13.8-arch1-1", cpu: "Intel(R) Core(TM) i7-8650U CPU @1.90GHz", core_count: "4", memory: "23.2 GiB" }
2025-03-25T20:49:12.634849Z  INFO bevy_render::renderer: AdapterInfo { name: "Intel(R) UHD Graphics 620 (KBL GT2)", vendor: 32902, device: 22807, device_type: IntegratedGpu, driver: "Intel open-source Mesa driver", driver_info: "Mesa 25.0.2-arch1.2", backend: Vulkan }

What you did

Updated to 0.16

What went wrong

After updating to 0.16 some meshes from gltf models began to intermittently appear and disappear. I also saw some other glitches (#18542 ) which may or may not have the same root cause. In my full game the flickering meshes seem to respond to camera motion. They will be present when the camera is in one position and absent in another. Changing window size also seems to trigger the flicker. In the attached minimal example there is no camera motion but the missing meshes are repeatably missing. In my full game I have seen this issue when running directly on wayland and also under xwayland but in the minimal example I have only gotten it to reproduce when running directly in wayland.

Additional information

Image

This screenshot demonstrates the issue. All the eyes are the same gltf model, the only difference is the x-y coordinates they were spawned at. There is a clear pattern in which ones are missing the eyelids and which ones aren't which wasn't noticable in the program this was extracted from, likely because things in that version are spawned in a more or less random order.

A minimal example that reproduces the issue for me when run on wayland is attached.

example.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AnimationMake things move and change over timeA-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorS-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions