# Objective `PbrPlugin` calls `app.init_resource::<AmbientLight>()` twice. The second call won't do anything. ## Solution Remove the second call. |
||
|---|---|---|
| .. | ||
| render | ||
| alpha.rs | ||
| bundle.rs | ||
| lib.rs | ||
| light.rs | ||
| material.rs | ||
| pbr_material.rs | ||
| wireframe.rs | ||
# Objective `PbrPlugin` calls `app.init_resource::<AmbientLight>()` twice. The second call won't do anything. ## Solution Remove the second call. |
||
|---|---|---|
| .. | ||
| render | ||
| alpha.rs | ||
| bundle.rs | ||
| lib.rs | ||
| light.rs | ||
| material.rs | ||
| pbr_material.rs | ||
| wireframe.rs | ||