Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
3
Found in
5.1.2p3
Issue ID
721436
Regression
No
Custom Shaders from Android Asset Bundle does not work right when instantiated
Asset bundles created for android that have Custom shader in it does not behave as expected.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
supreem_creator
Sep 07, 2016 14:14
Why has this been postponed? It makes it impossible to use Asset Bundles with custom shaders.
alexeyzakharov
Oct 16, 2015 14:48
Hi!
Data in AssetBundles built for the mobile platform might be incompatible with the Editor.
This might be the case for the shaders. E.g. shaders are serialized for GLES2 graphics API, but Editor is running DX11.
It is recommended to use 'Simulation Mode' approach described at https://unity3d.com/learn/tutorials/topics/scripting/assetbundles-and-assetbundle-manager.
Also AssetBundle might be built with GLES2 Graphics API in Player Settings, but main player is built and running GLES3 renderer. This causes data incompatibility at runtime.
GGeff
Sep 25, 2015 01:16
I'm having this issue as well, in 5.2.0f3
PNordlund
Sep 06, 2015 17:05
This seems to be the case with iOS asset bundles as well. Need to re-assign the shaders in the script that instantiates the prefab.
PNordlund
Sep 06, 2015 17:05
This seems to be the case with iOS asset bundles as well. Need to re-assign the shaders in the script that instantiates the prefab.