# Ambient light component in a collection loaded with a collectionproxy

**URL:** <https://forum.defold.com/t/ambient-light-component-in-a-collection-loaded-with-a-collectionproxy/83254>\
**Category:** Questions\
**Created:** [September 21, 2026, 10:52am UTC](https://forum.defold.com/t/ambient-light-component-in-a-collection-loaded-with-a-collectionproxy/83254 "2026-09-21T10:52:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![totebo](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/totebo/32/36087_2.png) [@totebo](https://forum.defold.com/u/totebo)\
**Post date:** [September 21, 2026, 10:52am UTC](https://forum.defold.com/t/ambient-light-component-in-a-collection-loaded-with-a-collectionproxy/83254/1 "2026-09-21T10:52:48Z")

</div>

Hello! I’ve added an ambient light component to my game and I bumped into an issue. It seems when an ambient light component is inside a collection loaded with a collectionproxy it doesn’t work and the models appear black:

 ![Screenshot 2026-09-21 at 11.47.28](https://forum-defold-uploads.b-cdn.net/original/3X/5/d/5d9b0fe01421f1bc6a23dbdf701163fa72aa9a7f.png)

If the collection is bootstrapped directly it works as intended (and as it looks in the editor):

 ![Screenshot 2026-09-21 at 11.48.43](https://forum-defold-uploads.b-cdn.net/original/3X/3/e/3e2edefc0c7356ed282d2ecd197b317ba03587bb.png)

Interestingly, other light components, such as the directional one does work when loaded by a collectionproxy:

 ![Screenshot 2026-09-21 at 11.49.38](https://forum-defold-uploads.b-cdn.net/original/3X/6/6/66ca0409bc1ec8fc393f2a274c565a9bc0a06813.png)

BUT, it doesn’t work with both a directional and an ambient light component loaded by a collectionproxy:

 ![Screenshot 2026-09-21 at 11.50.54](https://forum-defold-uploads.b-cdn.net/original/3X/f/9/f9b1bc30b1c48149be792833564a09ad550a7410.png)

Ambient and directional work, however, if bootstrapped directly:

 ![Screenshot 2026-09-21 at 11.51.19](https://forum-defold-uploads.b-cdn.net/original/3X/3/e/3e30ce036a967dd90961e76bb18c6ce69d250bbb.png)

Any ideas what can cause this behaviour?

Minimal repro project: [light\_proxy\_bug.zip](https://forum.defold.com/uploads/short-url/cjuevMNng4oqDjvMZlr1VT9svjt.zip) (34.2 KB)

---

<div class="post-metadata">

**Author:** ![jhonny.goransson](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/jhonny.goransson/32/3864_2.png) [@jhonny.goransson](https://forum.defold.com/u/jhonny.goransson)\
**Post date:** [September 21, 2026, 11:07am UTC](https://forum.defold.com/t/ambient-light-component-in-a-collection-loaded-with-a-collectionproxy/83254/2 "2026-09-21T11:07:44Z")

</div>

Which Defold version is this? It looks correct in the latest alpha. Afaik we have fixed a similar issue recently, but I don’t remember which exact version the fix was included in.

---

<div class="post-metadata">

**Author:** ![totebo](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/totebo/32/36087_2.png) [@totebo](https://forum.defold.com/u/totebo)\
**Post date:** [September 21, 2026, 11:30am UTC](https://forum.defold.com/t/ambient-light-component-in-a-collection-loaded-with-a-collectionproxy/83254/3 "2026-09-21T11:30:16Z")

</div>

This is 1.13.1, the latest stable I believe. I was just about to add a bug report on Github, but maybe I should hold fire!

---

<div class="post-metadata">

**Author:** ![jhonny.goransson](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/jhonny.goransson/32/3864_2.png) [@jhonny.goransson](https://forum.defold.com/u/jhonny.goransson)\
**Post date:** [September 21, 2026, 11:32am UTC](https://forum.defold.com/t/ambient-light-component-in-a-collection-loaded-with-a-collectionproxy/83254/4 "2026-09-21T11:32:50Z")

</div>

Can you test the latest alpha of the engine before you do that? It seems fine on my end, but to be sure it would be nice if you could verify on your end as well.

---

<div class="post-metadata">

**Author:** ![totebo](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/totebo/32/36087_2.png) [@totebo](https://forum.defold.com/u/totebo)\
**Post date:** [September 21, 2026, 11:36am UTC](https://forum.defold.com/t/ambient-light-component-in-a-collection-loaded-with-a-collectionproxy/83254/5 "2026-09-21T11:36:31Z")

</div>

I can confirm it works in 1.13.2! All cases in the repro render as they should.
