- Home /
Question by
chabode · Jun 18, 2016 at 05:41 AM ·
androidsceneassetbundleimage
changing image format when building scene assetbundle
hi,
ive packaged my scene to become an asset bundle and have this script:
[MenuItem("Assets/Build AssetBundle From Scene")]
static void ExportResourceScene()
{
object sceneObject = Selection.activeObject;
string name = Selection.activeObject.name;
string scene_path = AssetDatabase.GetAssetPath((UnityEngine.Object)sceneObject);
BuildPipeline.BuildStreamedSceneAssetBundle(new string[] { scene_path }, name + ".unity3d", BuildTarget.Android);
}
but everytime i tried to building my scene, the supposed png image got converted into jpg image which made all my image loses his transparency. can you help me how to restore image back to .png?
Comment
Your answer
Follow this Question
Related Questions
building assetbundle with scene and entire assets of that scene 1 Answer
Images Not Displaying Correctly On Android 0 Answers
Loading scene via AssetBundles on android for Oculus 1 Answer
editor load android scene assetbundle error 1 Answer
Unable download complete asset bundle with android version8.1 1 Answer