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
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)"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment