- Home /
How to load lightmaps from assetbundles dynamically at the runtime?
Hi,
I am using Lightmap Switching tool with asset bundles: https://github.com/laurenth-unity/lightmap-switching-tool
My scenario is, I would like to bundle baked scenes (day/night) and upload to an FTP server then download them to load in Additive mode on the top of my main scene. Say SceneName.unity3d, SceneName_Day.unity3d and SceneName_Night.unity3d. I can download all scenes however at the device receiving NullReferenceException.
I assume it is because of the .exr files are not being bundled correctly therefore they can not be found. Did you experience any kind of problems? And what would be the best workflow to use lightmaps and assetbundles to updload-download and load dynamically?
Or if anyone has an alternative method to load lightmaps dynamically from AssetBundles, I will be so happy to hear.
Your answer
Follow this Question
Related Questions
Performance/Quality Issue on Moving lights 0 Answers
Lightmaps Suddenly Broken 0 Answers
Baked lightmap darker than nearby objects 1 Answer