Light probes ignored in an additive scene [Unity 2019.4.5f1]

Hi,

We have a problem that started with the update to 2019.4 from 2019.2.

When a scene is loaded additively, the probes from the additive scene are ignored by dynamic gameObjects.

As an example - you can see that the probe on the selected character is taken from a location far away from the character (indicated by the yellow line) - it is the closest light probe in the active scene. The probes in the vicinity of the character are ignored.

Any ideas?

Compare - only one scene loaded:

Hey Adam,

before 19.3, Unity would only consider the probes of the last loaded scene (i.e., you couldn’t actually “add” probes with additive scenes). In 19.3, we changed this behavior to be in sync with lightmaps. However, the tetrahedralization structure used to look up probes needs to be updated when loading additive scenes with probes in them, and since this is expensive we have an API call for it:

LightProbes.Tetrahedralize() or LightProbes.TetrahedralizeAsync()

Please try calling it after all your additive scenes were loaded.

Cheers

1 Like

Hi,

Thanks for the quick reply. Yes, the LightProbes.Tetrahedralize() has fixed the issue!

I thought it would be a bug so I just looked through between version bug-fixes, did not occur to me to check the change-log. Thank you.

1 Like