Search Issue Tracker

By Design

Votes

1

Found in

4.2.0f4

Issue ID

563165

Regression

No

AssetBundles with shaders do not work in editor

Asset Loading

-

Targeting Android, Unity Pro's AssetBundles-with-Shaders feature works great on-device (tested on different phones) but totally fails in Unity Editor's Game View, making any sane prototyping/testing of such AssetBundles essentially unworkable.

Note this applies to Unity Editor started with -force-opengl. No idea if this happens in DirectX mode, since that is simply irrelevant to Unity development for mobile.

See: http://forum.unity3d.com/threads/199911-unity-Shaders-in-AssetBundles-few-work-most-fail-in-various-different-ways!

Resolution:
Once shaders are serialized for opengl es target it is impossible to load them using dx9/11 device.
As a workaround '-force-glcore' can be used on Windows to be able to emulate gles behavior

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.