Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

How can i load main asset from asset bundle ?

Discussion in 'Asset Bundles' started by mostafanastary, Dec 1, 2019.

  1. mostafanastary


    Oct 4, 2015
    hi, i have an asset in my assetbundle witch i don't know it's name, how can i load it ?
    NOTE : i don't want use manifest file for get name.

    i try :

    Code (CSharp):
    1. Instantiate(myLoadedAssetBundle.mainAsset);
    but .mainAsset is obsolete.

    please help!