# Objective - Do not panic when mroe than 256 point lights are added the scene - Fixes https://github.com/bevyengine/bevy/issues/3682 ## Solution - Only iterate the first `MAX_POINT_LIGHTS` lights instead of as many as there are ## Open questions - Should we warn that there are more than the maximum allowed number of point lights in the scene? |
||
|---|---|---|
| .. | ||
| render | ||
| alpha.rs | ||
| bundle.rs | ||
| lib.rs | ||
| light.rs | ||
| material.rs | ||
| pbr_material.rs | ||
| wireframe.rs | ||