bevyengine / bevy

A refreshingly simple data-driven game engine built in Rust
https://bevyengine.org
Apache License 2.0
35.63k stars 3.52k forks source link

alien_cake_addict example lighting issues #15729

Open LiamGallagher737 opened 1 day ago

LiamGallagher737 commented 1 day ago

Bevy version

e7b83ac

Relevant system information

SystemInfo { os: "Linux 24.05 NixOS", kernel: "6.6.34", cpu: "AMD Ryzen 7 5800X 8-Core Processor", core_count: "8", memory: "31.2 GiB" }
AdapterInfo { name: "NVIDIA GeForce RTX 3060 Ti", vendor: 4318, device: 9353, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "550.78", backend: Vulkan }

What you did

cargo r --example alien_cake_addict

What went wrong

At first the lighting is fine, but after losing the game and starting again by pressing space on the game over screen the lighting is messed up.

Here is a video showing it: https://youtu.be/dLpKSMGyS-M

LiamGallagher737 commented 1 day ago

The offending commit is 56f8e526dde49b4e4ad62efb7ad27bfe0bd6f617 from #15320.