Skip to content

split_screen example doesn't render most assets #19231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
BenjaminBrienen opened this issue May 16, 2025 · 7 comments
Open

split_screen example doesn't render most assets #19231

BenjaminBrienen opened this issue May 16, 2025 · 7 comments
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior C-Examples An addition or correction to our examples D-Modest A "normal" level of difficulty; suitable for simple features or challenging fixes P-Regression Functionality that used to work but no longer does. Add a test for this! S-Needs-Investigation This issue requires detective work to figure out what's going wrong

Comments

@BenjaminBrienen
Copy link
Contributor

          I don't see anything

image

     Running `target\debug\examples\split_screen.exe`
2025-05-16T10:40:12.764323Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Windows 11 Pro", kernel: "26100", cpu: "12th Gen Intel(R) Core(TM) i7-12700H", core_count: "14", memory: "31.7 GiB" }
2025-05-16T10:40:12.911438Z  INFO bevy_render::renderer: AdapterInfo { name: "Intel(R) Iris(R) Xe Graphics", vendor: 32902, device: 18086, device_type: IntegratedGpu, driver: "Intel Corporation", driver_info: "Intel driver", backend: Vulkan }
2025-05-16T10:40:13.676064Z  INFO bevy_render::batching::gpu_preprocessing: GPU preprocessing is fully supported on this device.
2025-05-16T10:40:13.719942Z  INFO bevy_winit::system: Creating new window split_screen (0v0)
2025-05-16T10:40:31.912440Z  INFO bevy_window::system: No windows are open, exiting    
2025-05-16T10:40:31.922471Z  INFO bevy_winit::system: Closing window 0v0

Originally posted by @BenjaminBrienen in #19147 (comment)

@BenjaminBrienen BenjaminBrienen added C-Bug An unexpected or incorrect behavior C-Examples An addition or correction to our examples A-Assets Load files from disk to use for things like images, models, and sounds S-Needs-Investigation This issue requires detective work to figure out what's going wrong D-Modest A "normal" level of difficulty; suitable for simple features or challenging fixes labels May 16, 2025
@tylercritchlow
Copy link

Image

it spawns all assets correctly on MacOS Sequoia M4, main branch at commit 45ba5b9

@BenjaminBrienen BenjaminBrienen added S-Needs-Reproduction Needs an up-to-date or minimal reproduction and removed S-Needs-Investigation This issue requires detective work to figure out what's going wrong labels May 18, 2025
@BenjaminBrienen
Copy link
Contributor Author

It works on my Linux machine. I'll test again on Windows.

@BenjaminBrienen
Copy link
Contributor Author

Still broken on Windows for me.

@AndrewDanial
Copy link
Contributor

AndrewDanial commented May 18, 2025

Image

Working for me on Windows 11, main @ commit 45ba5b9

Stdout:

2025-05-18T20:32:29.459563Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Windows 11 Home", kernel: "26100", cpu: "AMD Ryzen 7 5800X 8-Core Processor", core_count: "8", memory: "15.9 GiB" }    
2025-05-18T20:32:29.993088Z  INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 3060", vendor: 4318, device: 9476, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "576.02", backend: Vulkan }
2025-05-18T20:32:31.799566Z  INFO bevy_render::batching::gpu_preprocessing: GPU preprocessing is fully supported on this device.
2025-05-18T20:32:31.981489Z  INFO bevy_winit::system: Creating new window split_screen (0v0)
2025-05-18T20:32:32.166621Z  INFO bevy_input::gamepad: Gamepad 42v0 connected. 

@BenjaminBrienen BenjaminBrienen added A-Rendering Drawing game state to the screen and removed A-Assets Load files from disk to use for things like images, models, and sounds labels May 18, 2025
@BenjaminBrienen BenjaminBrienen changed the title split_screen example doesn't spawn most assets split_screen example doesn't render most assets May 18, 2025
@BenjaminBrienen BenjaminBrienen added the P-Regression Functionality that used to work but no longer does. Add a test for this! label May 18, 2025
@BenjaminBrienen
Copy link
Contributor Author

Reproduces on my second Windows laptop. Both have an integrated GPU. Bisecting... v0.15.0 is good, so confirmed to be a regression.

@BenjaminBrienen BenjaminBrienen added S-Needs-Investigation This issue requires detective work to figure out what's going wrong and removed S-Needs-Reproduction Needs an up-to-date or minimal reproduction labels May 18, 2025
@BenjaminBrienen
Copy link
Contributor Author

8f36106f9e05c45aee1c773a1206b055ad743d34 is the first bad commit
commit 8f36106f9e05c45aee1c773a1206b055ad743d34
Author: Patrick Walton <[email protected]>
Date:   Mon Feb 17 16:53:44 2025 -0800

    Split out the `IndirectParametersMetadata` into CPU-populated and GPU-populated buffers. (#17863)

#17863 is the regression @pcwalton

@atlv24
Copy link
Contributor

atlv24 commented May 22, 2025

Same bug as #18904 #19000 #19209 i believe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior C-Examples An addition or correction to our examples D-Modest A "normal" level of difficulty; suitable for simple features or challenging fixes P-Regression Functionality that used to work but no longer does. Add a test for this! S-Needs-Investigation This issue requires detective work to figure out what's going wrong
Projects
None yet
Development

No branches or pull requests

4 participants