Quantcast
Viewing all articles
Browse latest Browse all 312

How do I save assets from an asset bundle in the Editor?

I have an assetbundle that contains an .fbx, textures, materials, prefabs and am attempting to load it into the Editor and create these assets in the asset folder. I can easily load in the asset bundle and access the Object[] in the Editor using LoadAll(), but can't find a way to create the assets because AssetDatabase.CreateAsset() requires a path with an extension and I can't find a way to get the extension of the objects loaded from a bundle? Is there another way to re-import AssetBundle assets into the Editor? Thanks!

Viewing all articles
Browse latest Browse all 312

Trending Articles