Character Customization Build Problem

After implimenting the character customization example into my own project I have encountered an error when building the project.

Characters completely dissapear.

I assume that this has something to do with the asset bundles for the characters not being built with the project?

Any insight would be much appreciated,
Hawk

Hi, welcome to the forum!

How are you accessing the asset bundles? If you are using the WWW class, then are you retrieving them from a server or from a local file with a file:// URL?

We are not retrieving them from a remote server or URL, they are stored in a local folder outside the Assets directory. This was the way it was setup in the character customization example.

I’m still having this problem. Does anyone else have any ideas (got the character customization example to work in a build)?

Edit: Just fixed it. Was in CharacterGenerator.cs

Had to change the line:
“file://” + Application.dataPath + “/…/assetbundles/”;
to:
“file://” + Application.dataPath + “/Resources/assetbundles/”;
and then place the assetbundles folder from the editor path into the Resources folder of the build.