I’m using AssetBundle for download the 3D model from server and displaying in the screen. When i using the unity playmode then the 3D model is showing but when i run the project in android mobile device it’s not working and the cube is not showing.
mBundleInstance = Instantiate (bundle.mainAsset) as GameObject;
mBundleInstance.transform.parent = imageTarget.transform;
mBundleInstance.transform.localScale = new Vector3(0.3f, 0.3f, 0.3f);
mBundleInstance.transform.localPosition = new Vector3(0.0f, 0.15f, 0.0f);
mBundleInstance.transform.gameObject.SetActive(true);
Please check my code what i'm using for display the cube..
– karthees