Search Issue Tracker

Won't Fix

Votes

0

Found in

5.6.0p3

Issue ID

905373

Regression

No

AssetBundle Loads gameObject with weird Shading, materials missing

Asset Bundles

-

Steps to reproduce:

1. Open attached project, AssetBundleTest Scene.
2. Select GameObject and input your own File path for "testbundle2" in the asset bundle URL field
3. Make sure "Sphere" is set as Asset name and Version is set to 0
4. Press play.
5. Observe original cubes and spheres differently shaded than ones loaded from play mode, materials missing

Expected outcome: Asset bundle packaged with the materials being used would load them properly, spheres with default material would look identical to those present in the scene before Play mode was started.
Actual outcome: Cubes lose their material, spheres look a bit yellowish. Setting their material to the same standard one resets them to normal.

Reproduced on 5.4.5p1, 5.5.3p1, 5.6.0p3

Notes: 2017.1.0b2 throws an exception error with no message:
"Exception: WWW download had an error:
CachingLoad+<DownloadAndCache>c__Iterator0.MoveNext () (at Assets/CachingLoad.cs:24)
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)"

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.