Hi everyone,
I’m encountering an issue with a scene that is loaded using Unity Addressables. When the scene is loaded at runtime, it seems that the baked lightmaps are not being read properly. This results in some shaders that rely on the baked lightmaps not functioning as expected.
Here’s a summary of the problem:
- The scene works perfectly in the editor and when loaded directly (not as an addressable).
- When the scene is loaded as an addressable, it appears that the baked lighting information is either missing or not applied correctly.
- Shaders that depend on the baked lightmaps (like static objects with precomputed lighting) are affected and appear incorrect (including the URP Lit shader).
I’ve double-checked the following:
- The lighting data is included in the scene.
- The lightmaps are baked and seem to be properly assigned in the editor.
- The Addressable settings for the scene include all dependencies.
Am I missing a step to ensure the baked lighting data is loaded and applied correctly when using Addressables? Is there a specific workflow or configuration I should follow for scenes with baked lighting to work properly with the Addressables system?
I’m using Unity 6000.0.32f1 with the Universal Render Pipeline and Addressables version 2.2.2.
Any help or advice would be greatly appreciated!
Thanks in advance!