- Home /
Question by
CornDog · May 25, 2015 at 05:12 AM ·
materialassetbundleloadlevel
Why/how is the material messed up on this cube after scene switch?
I have a scene that loads a prefab from an asset bundle. If, in the editor, I start in the scene that loads the prefab, the material appears correctly. If I load a scene that has a single button which calls Application.Loadlevel(1) thus taking you TO the scene that loads the prefab, the material is too dark.
If you would like to see this in action, You can view a screencast of the process here:
Images of the two scenarios are here in the order described.
noscenechange.png
(181.6 kB)
untitled.png
(152.8 kB)
Comment