- Home /
Character Customization Main.cs Problem
Help Please.
Console :
1 ;
You are trying to load data from a www stream which had the following error when downloading. Couldn't open file /Unity Project/Example/Assets/Assets/assetbundles/CharacterElementDatabase.assetbundle UnityEngine.WWW:get_assetBundle() CharacterGenerator:get_ReadyToUse() (at Assets/Plugins/CharacterGenerator.cs:184) c__Iterator0:MoveNext() (at Assets/CharacterCustomization/DressingroomExample/Main.cs:26)
2 ;
NullReferenceException CharacterGenerator.get_ReadyToUse () (at Assets/Plugins/CharacterGenerator.cs:184) Main+c__Iterator0.MoveNext () (at Assets/CharacterCustomization/DressingroomExample/Main.cs:26)
Other : Forum
Answer by PartyNeverEnds · Sep 23, 2013 at 04:41 PM
The problem has been solved.
Solution ;
CharacterGeneration Double Click And Edit ;
1 - File > return "file://" + Application.dataPath + "/Assets/assetbundles/"; Edit > return "file://" + Application.dataPath + "/assetbundles/"; Save And Exit.
2 - Project > Assets Click > Unity3D Menu > Character Generator > Create AssetBundles and Okay
Thank you, Mike Bastien...
Answer by Seizure · Sep 23, 2013 at 04:07 PM
Can you post your script? But if i'd venture a guess I'd bet you're trying to use info your pulling from the server before it returns all of the information. Put your www call into a function and yield like so:
IEnumerator login (WWW w)
{
yield return w;
Debug.Log("w.text " + w.text);
}
how to do second step? "2 - Project > Assets Click > Unity3D $$anonymous$$enu > Character Generator > Create AssetBundles and Okay
"
Your answer
![](https://koobas.hobune.stream/wayback/20220613114611im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Character Axes Rotation Problem 3 Answers
Skinned Mesh Renderer / Morph 2 Answers
Playerprefs save player position 3 Answers
Character Disorder [Help pls] 0 Answers