When adding a directional light to a site, or changing an existing light into directional, we immediately get a panic from bevy_pbr:
thread 'Compute Task Pool (5)' (172191) panicked at /home/grey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bevy_pbr-0.16.1/src/render/light.rs:1526:18:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_pbr::render::light::prepare_lights`!
I assume this is related to an implementation change in one of the bevy versions, since directional lights used to work fine.
When adding a directional light to a site, or changing an existing light into directional, we immediately get a panic from
bevy_pbr:I assume this is related to an implementation change in one of the bevy versions, since directional lights used to work fine.