Ambient light component in a collection loaded with a collectionproxy

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:

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

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

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

Ambient and directional work, however, if bootstrapped directly:

Any ideas what can cause this behaviour?

Minimal repro project: light_proxy_bug.zip (34.2 KB)

1 Like

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.

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!

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.

1 Like

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

2 Likes