Before getting started ensure you have a Unity project with the SDK setup
Arguably the most important part, you must find a 3D model to be used as your avatar. As this is your first avatar we recommend getting one from the Unity Asset Store as they usually come fully rigged meaning you don't have to do anything special to get it uploaded. If you decide to get your model outside of the asset store ensure the model is fully rigged and is in a format Unity accepts.
Ensure that the model that you're using is below 70,000 triangles (10,000 for VRChat on Oculus Quest). The SDK will not permit you to upload a model above this count.
Now you have found the model you want it's time to get it into your project. If you're getting it from the asset store then on the assets page you can download and import it from there, If getting it from somewhere else then you need to import it and any related textures into your assets folder.
After you get the model in your assets select it, you'll want to ensure it has the correct settings set, under the rig tab in the inspector make sure the Animation Type is set to Humanoid.
With the model in your assets and with the correct settings on it you will next want to put it into a scene To do so, either drag it into your Hierarchy or into the scene. We recommend having one scene per avatar and placing it at 0, 0, 0. If the avatar isn't standing up straight, rotate it so it is. Also, ensure the avatar isn't really small or bigger than 5x5x5m, you can use a default unity cube which is 1x1x1m to compare.
It is very important that your avatar is optimized so that you do not cause low FPS for yourself and others. The SDK will inform you if something looks awry. Check out our Avatar Optimization Tips to check out methods to improve your avatar's Performance Rank.
After doing so we now want to add an VRC_AvatarDescriptor then setup the settings for it. First we'll want to set the view position, this will be where you view from, you can see a visual representation of it as a small white sphere in the scene. If your avatar is has a head then the best position the view is between the eyes, if it's not then place it where ever you feel fit.
Next we'll want to set the animation set, choose which you feel best suits the avatar. After that, if you want, can setup lip sync so when you talk, the avatar's mouth (or what ever else) can react. Since this is a beginner avatar we'll use a Jaw Flap Bone as it's the easiest to setup. First we need to find the jaw bone, to find it we need to go to the the hierarchy and find the skeleton the avatar, this should be easy to find as it has a lot of children and should be named accordingly. Navigate your way from the root, though the spine to the head, under it you might find a jaw bone, if you don't have this bone then you won't able to setup lip sync, though if you do then you can set Lip Sync on the avatar decriptor to Jaw Flap Bone and put in the jaw bone into the Jaw Bone slot.
Next we'll want to check that everything is good in the build window, to do that you'll need to open
VRChat SDK > Show Control Panel > Builder, within you should see the avatars gameobject mentioned with a Build & Publish button below it. In between you will see a polygon count, errors and warnings. If there's any errors you will need to fix them first, the most common error is too many polygons though to fix this you will need to decimate your avatars mesh(es) which if you know how to do then go do so but if not just go back and choose another model for now.
Now everything is ready press the Build & Publish button, the SDK will then build you avatar and get it ready for upload. You will next be brought to the upload screen where you can name your avatar, set a image for it and other metadata. To alter the image move the VRCCam around the scene.
After all that is entered you need to confirm you have the rights to upload the content to VRChat then you can press the upload button, the avatar will then start uploading and when finished you should able to see it in-game or via the content manager in the SDK via
VRChat SDK > Show Control Panel > Content Manager
Updated 3 months ago
|Avatar Optimization Tips|