- Home /
Incorrect Intensity value of Light component loaded from Assetbundles
Hi,
After upgrading my project to use Unity 5, I found several light objects under a particles system have incorrect intensity values.
The object structures are: 1. Particle System prefab with a child Light object whose intensity value is N. 2. A Character Prefab having a component holding a reference to the particle system prefab(1.) 3. Set the character prefab to be packed into an assetbundle
In runtime, we 1. load the assetbundle 2. load the character prefab from the assetbundle 3. instanitate the character prefab 4. the character prefab instantiates the particle systems linked, in the component's Awake() 5. check the intensity value of the light under the particle system instance
We found the intensity value is different from what it is set in its original prefab.
This did not happen in Unity 4, and all other values seems correct.
Has anyone could give me some suggestions?
Thanks.
Your answer
Follow this Question
Related Questions
Disable changing light intensity 1 Answer
Multiple Point Light Issue 1 Answer
light.intensity shows error 1 Answer
Light.intensity and Lumen comparison 0 Answers