I’m having issues getting prefabs stored in an asset bundle to retain their transparency.
The Right Image is what the prefab looks like. But when I make an asset bundle of the prefab along with all its textures and materials, and then spawn it from the asset bundle using Instantiate(), the lid, which is supposed to be transparent, no longer is (left). The only way to make it transparent again is to manually drop the original material back onto the lid sub-object in the editor window.
If I manually drag and drop the entire prefab into the scene, the transparency does work. It only stops working when I use Instantiate(prefab, transform). What’s up that that?
Your help is appreciated.
PS:
Also, on a possibly related note, none of the material sliders on the instantiated game object does anything. I can open it in the hierarchy, move the sliders around, and none of the settings transfer over in the object. Even if I do it by script. The only thing I can change is the color.