Blog |
Before doing anything, is my character compatible to be a Cross-Platform Avatar? For a character to be able to be Cross-Platform it requires to be optimized for mobile devices:
For more information about what you can and can't do with your avatar visit this website: Prepare Unity to be able to upload Avatars to VRChat You will need these things to upload your own Avatars to VRChat:
In the following link they explain the requirements and how to set up the SDK: In my personal experience It worked when I didn't installed Unity Mitigation Tool, so I don't recommend installing it. Maybe it's just a coincidence. To import the SDK you have to go to Assets > Import Package and select the SDK in the folder. CAUTION: Importing the SDK will only affect the current Unity project. You will need to import it in every Unity project in which you want to upload something to VRChat. If its the first time you log in with an account in the SDK you will have to wait until you are able to upload anything to VRChat. Setting up the Character in Unity Once you have the Unity Project with the SDK and your rigged character its time to put it on a scene. To import the fbx model go to Assets > Import New Asset. You will have to do the same to import the texture (Another way to import them is draging them into the Project Tab). Once you have imported both, drag the model into a new Scene. To create a new Scene you can go to File > New Scene; Right Click on the Project Tab > Create > Scene; or simply type Ctrl + N. 1. Change the Scale To be able to see how big is your character with respect to the world, go to GameObject > 3D Object > Cube. A cube of 1x1x1 will appear in the Scene so you can compare it with your character. If you need to change the Scale of the character DON'T DO IT ON THE TRANSFORM COMPONENT OF THE CHARACTER IN THE SCENE, this could create unwanted errors in the future. To modify this parameter the best option is to click the character in the Project Tab and in the Inspector Tab > Model change the Scale Factor value until you have the size desired. You will need to Apply to see the change in the Scene. 2. Create a Material To create a new material in the Project Tab, Right Click > Create > Material. Left Click in the New Material and in the Inspector Tab should appear the configuration of the material.
Another option is to click your character in the Project Tab > Material and there click in the circle in the list of materials and choose the material you have created previously. Quick Tip: If you want to change the name of something in the project, for example, a material, in this version of Unity you can press F2. 3. Add the VRC Component Now you click the parent object of your character and look at the Inspector. Click in Add Component, search VR and add the VRC_Avatar_Descriptor. In this component change the parameters of View Position to align it in front of the character. This is where the First Person Camera will be when playing with this character. In theory this would be enough to upload the character, but for caution lets check that there isn't any big problems. Go to VRChat SDK > Show Build Panel Control, popping up a small window. You have to look at the messages below the button Build & Publish. If you want to add Visemes to your character so it can move their mouth when you talk I recommend you to check our Visemes Guide: https://www.polygonalmind.com/blog-posts/create-and-upload-a-vrchat-avatar-with-blend-shapes-visemes
4. Fix the Rig Click your character in the Project Tab > Rig and change the Animation Type to Humanoid. Go back to the VRChat Tab. If you have this problem you have to click on Rig > Configure and select None in the UpperChest box and change the Chest bone to Spine2. Make sure that you have at least 3 fingers rigged: Thumb, Index and Middle to have Full IK and Tracking later. If there is no Red Errors it should be fine. Then click Build & Publish. The build can take some time depending on your computer and the model you are uploading. This should appear in the Game Tab. Here you can name the avatar, give a description, indicate if there is any content warning and if you want it to be able to be shared. Make sure to check that you own the rights of the characters. If for some reason in the future you upload a character you dont own you can have legal problems later. To change the preview image you have to go to the Scene Tab and move the new VRCCam in the scene. When you are done, click Upload and wait for the process to end! Still have doubts? Reach us on Discord! Alejandro Peño Technical artist Videogame and animation enthusiast. I aspire to become a great videogame artist and developer, providing enriching experiences for those who share my passion.
7 Comments
Jake Shaw
10/25/2021 05:48:07 pm
What if I use a custom avatar I made using readyplayer.me but I'm on a chromebook. I want to directly import it to my oculus quest. How do I do THAT?
Reply
dejae
1/7/2022 01:08:07 pm
you can click on VRCHAT while in the readyplayerme webpage and upload directly to vrchat. (click on the vrchat logo)
Reply
Leave a Reply. |
Categories
All
Archives
March 2022
|