- Home /
Question by
info17 · Jan 09, 2013 at 06:09 AM ·
assetbundleassetstore
Free Character Customization error
I am using Unity4 when i download character customization from asset store it show some error such as Can not load assetbundle. from CharacterGenerator.cs Do I have to fix something before make it works ?
Comment
Best Answer
Answer by prototype7 · Jan 09, 2013 at 09:20 AM
If i am not wrong your error is Couldn't open Assets/Assets/assetbundles/CharacterElementDatabase.assetbundle. As you can see "Assets/Assets" is the problem to fix this try to change your CharacterGenerator.cs
public static string AssetbundleBaseURL
{
get
{
if (Application.platform == RuntimePlatform.WindowsWebPlayer || Application.platform == RuntimePlatform.OSXWebPlayer)
return Application.dataPath+"/assetbundles/";
else
//return "file://" + Application.dataPath + "/Assets/assetbundles/";
return "file://" + Application.dataPath + "/assetbundles/";
}
}
Your answer
![](https://koobas.hobune.stream/wayback/20220613090632im_/https://answers.unity.com/themes/thub/images/avi.jpg)