- Home /
Why does the instantiated prefab not look identical to the original?
On the left is a prefab that is instantiated from the original that is loaded from asset bundles. On the right is the original dragged directly into the scene from the assets folder. It has to do directly with the model as the material is added after instantiation. The way it appears it makes me wonder if saving and loading from the asset bundles somehow messes with the tangents of the model. What is the problem and how can I fix it?
https://drive.google.com/file/d/1UYE61gQKso6XO_4lCuIB_SL15fXiQN18/view
Answer by AlexDonaldArcher · Jun 25, 2019 at 02:59 PM
Found the answer here: https://docs.unity3d.com/ScriptReference/PlayerSettings-stripUnusedMeshComponents.html
Since I don't apply the texture before saving it into the asset bundles, the tangent information was stripped. By disabling this feature, it fixed my problem.
Your answer
Follow this Question
Related Questions
Wait for coroutine to finish before returning a value in another function 0 Answers
Assetbundle materials? 1 Answer
Missing Material in AssetBundle Prefab 3 Answers
Checking if object intersects? 1 Answer