How to Optimize VRChat Avatars Using Only Unity

Sdílet
Vložit
  • čas přidán 30. 07. 2024
  • Check out my twitch: / akiwoo
    Download links below:
    VRC Fury: github.com/VRCFury/VRCFury
    D4Rks Avatar Optimizer: github.com/d4rkc0d3r/d4rkAvat...
    Pumkins Avatar Tools: github.com/rurre/PumkinsAvata...
    Gesture Manager: github.com/BlackStartx/VRC-Ge...
    Thrys Avatar Performance Tools: github.com/Thryrallo/VRC-Avat...
    Dynamic Penetration System: raliv.gumroad.com/l/lwthuB
    Poiyomi Pro: / poiyomi
    0:00 - Intro
    0:42 - Starting New Project
    3:00 - First Upload
    4:54 - Removing Unused GameObjects
    8:52 - Blendshapes
    9:33 - Removing FX Layers
    14:53 - Physbones
    18:53 - Textures & VRAM
    25:25 - Menu Toggles
    26:20 - d4rk Avatar Optimizer
    30:20 - VRC Fury
    video edited by / hiemilyy

Komentáře • 55

  • @d4rkpl4y3r_vr
    @d4rkpl4y3r_vr Před rokem +36

    27:18 If you turn off "Write Properties as Static Values" please do NOT unlock the shaders. It's basically a more generalized version of lock in and you definitely want either that on or have the shaders locked in. With this off and the shaders unlocked you are unfortunately uploading something very unoptimized for GPUs, sorry.
    It's definitely my bad for not communicating this with the warnings properly and I will change that in future versions.
    If you find a specific material that breaks with it turned on I would appreciate a bug report on my github with as .zip of the shaders and cginc files. I can't fix issues that I don't know about after all!
    Aside from that, this is a very good tutorial for optimizations that you can apply in unity!
    23:00 Small tip here. The button to the left of the individual texture size actually shows you what materials the texture gets used in when clicked. Makes hunting for dangling textures a bit easier.

    • @akiwooLive
      @akiwooLive  Před rokem +8

      Thanks for the advice and corrections d4rk. Many times if I had Write Properties as Static Values ticked a lot of materials on Dotty models would break, I'm not sure exactly why next time I upload an avi I'll try to send in any bugged mats I find. Anyways, I ended up just unticking the Static Values thingy and I did run exactly into what you said where the avatar would become extremely frame heavy after and I couldn't figure out why so thank you for explaining that. I also had an issue where uploading avi's after converting to the optimised model would bomb my CPU usage to 100% usage on all cores even with my i9 13900k. Could that have also been from unticking the Write Properties as Static Values box?
      Also thank you for pointing out that button to hunt textures, that makes life so much easier, I never knew ^^

    • @d4rkpl4y3r_vr
      @d4rkpl4y3r_vr Před rokem +4

      @@akiwooLive do you mean 100% CPU usage while uploading the model? If so that is expected as the optimizer makes new shaders with added features like shader based mesh toggles etc. Those new shaders need to be compiled which unity does with everything your cpu has to offer and it can take quite a while to do.

  • @omniaesthetic1256
    @omniaesthetic1256 Před rokem +2

    I hope you keep the tutorials coming, as I learned so much from you and want to know more! I am planning on reworking my custom avatar from scratch in a new Unity project, and I think a lot of the things you showed here will be a HUGE help. Some of those plugins you showed absolutely blew my mind. I wish I knew they existed beforehand!

  • @phantom7767
    @phantom7767 Před 3 měsíci

    This is such an incredibly well made tutorial! I uploaded my first model today and this is helping me quite a lot.

  • @pacman-dm2ky
    @pacman-dm2ky Před 7 měsíci +1

    Thank you for all your help your video will definitely go in my favorites for favorite guide on the Vrchat making/optimizing community! ^^

  • @All4thlulz
    @All4thlulz Před rokem

    Thanks for sharing your process of optimisation. In the chaos of trying to optimise purchased avatars this is a surprisingly easy method to follow. Now if only my friends weren't so scared of Unity...

  • @Cragsand
    @Cragsand Před rokem +10

    Aki being coherent and giving actually useful instructions! Amazing, keep it up 😉

  • @AlmaEmma
    @AlmaEmma Před rokem +13

    I'd feel so incredibly lost without your tutorials oh my god, you're a lifesaver! Unity can be so confusing at times, I'm really glad you go so in-depth with everything! THANK YOU!

  • @tranphongtran2296
    @tranphongtran2296 Před rokem

    Thank for the instruction, really helpful for my case.

  • @Cyb3r-Kun
    @Cyb3r-Kun Před 11 měsíci

    Thanks a lot this was an amazing tutorial

  • @UsagiHorror
    @UsagiHorror Před rokem

    Thank you so much for this 😭

  • @Chomper_r
    @Chomper_r Před rokem +6

    wowow im feeling so optimized right meow

  • @tonyscragaloni9274
    @tonyscragaloni9274 Před rokem

    This helped out so much thanks Aki! Do you think you could do a tutorial on adding tattoos?

  • @roguewitxh
    @roguewitxh Před 6 měsíci

    Thank you so much for this!! I've been wanting to learn to create VRC avatars for my DJing in game. Just a body to feel comfortable being and a body that I feel like really really represents me. I'm always so fascinated by people who can create things like this. My girlfriend makes models, and it's so wild to watch her. Also, lol, she grumbles a lot when the program crashes and she loses progress xD
    Anyways, solid props to this video

  • @EmiTheyThem
    @EmiTheyThem Před 8 měsíci

    Hi! After I do the "unpack prefab completely" 5:41 i'm unable to build and publish the model. Is there any missing step? I constantly get errors from all over the place, that before doing that do not happen-.

  • @keselectric773
    @keselectric773 Před rokem

    I have a question and its kinda dumb in a way but can you use dazz 3 for vrc avatars likes these that you have??

  • @PhoenixHellcat
    @PhoenixHellcat Před rokem

    D4rk is saying it don't work on quest is there another way to reduce material slots for quest it's the last part I need to do

  • @tenjikat
    @tenjikat Před 3 měsíci

    when i add d4rk as a component the script isnt actually showing up, it just says d4rk and theres no options. im trying to use it on an avi for quest, any help would be appreciated :)

  • @LeafyKatRR
    @LeafyKatRR Před 11 dny

    it says my avatar is using too many bits 262/256? how do i fix this??

  • @TheGodkick
    @TheGodkick Před rokem +2

    Now I can finally optimize my degen avatars yay

  • @pat-play_boy5608
    @pat-play_boy5608 Před 2 měsíci

    i love that cow ears

  • @mentosnetwork4774
    @mentosnetwork4774 Před 9 měsíci

    why do I need the dynamic penetration system

  • @user-uv5is7og1v
    @user-uv5is7og1v Před rokem

    Any advice for optimizing quest versions?

  • @galarawr
    @galarawr Před 10 měsíci

    I was able to get it down but the tediousness of it all is still torture 😭 video very helpful ty

  • @loveshock846
    @loveshock846 Před rokem

    You should get rid of all anystate toggles aswell or even better, make direct blend tree toggles.

  • @Redfox-ge5lg
    @Redfox-ge5lg Před 8 měsíci

    What dose build fail mean?

  • @oitsnana
    @oitsnana Před rokem

    Should we do this to all avatars?

  • @Xen_J
    @Xen_J Před 4 dny

    turns invisble when i use it for quest

  • @KimeraJin
    @KimeraJin Před 5 měsíci +3

    The ''create optmized copy'' don't get on for me, stay gray and i can't use.. not sure why tho.. but despite great guide!

    • @tenshik3769
      @tenshik3769 Před 2 měsíci +1

      Did you find a solution for this? I am getting the same problem. ;-;

    • @alexgoestosleep8123
      @alexgoestosleep8123 Před měsícem

      same problem

    • @mimimeow2833
      @mimimeow2833 Před 16 dny

      Same issue here :[

    • @tenshik3769
      @tenshik3769 Před 15 dny

      @@mimimeow2833 If I remember correctly, when I got this to work, it was the object for GoLoco on my avi that stopped it from running. I could be misremembering though

    • @tenshik3769
      @tenshik3769 Před 15 dny

      @@alexgoestosleep8123 If I remember correctly, when I got this to work, it was the object for GoLoco on my avi that stopped it from running. I could be misremembering though

  • @epiquewenqa
    @epiquewenqa Před 11 měsíci +1

    okay so, my overall performance is still Very Poor. How do I get it to Good?

    • @A_D_Forevers
      @A_D_Forevers Před 11 měsíci

      im in the same boat. This is a tutorial im trying to find/look for. I want my avatar to at least be poor or below

  • @MoarPye
    @MoarPye Před rokem

    I learned a lot but I'm still so stuck. I have an optimized avi by Sohvi which is rated as 'Good', then I add a beard to it, move it into the head on the armature, give it a new material derived from the hair texture Sohvi uses, and with just that addition the performance rating is now Very Poor... So I followed all the steps of your D4rk's Avatar Optimizer section, and it showed like it was gonna fix all the problems... Reduce the skinned meshes from 2 back to 1, poly bones from 16 back to 4, something about atlases... Only, it didn't do any of that. I've ended up with an Opti version of the avatar that reports all the same problems when I try to upload it. Still 2 skinned meshes, still 16 poly bones, etc... I even deleted the original avatar from the Hierarchy completely, just to make sure it wasn't getting picked up by mistake, but no dice.
    Trying to get one beard to work has given me 5 days worth of headaches and frustration so far...

    • @DynamicPudding
      @DynamicPudding Před rokem

      The upload page should tell you what is causing it to be rated as VERY POOR. Is the beard too many polygons? As soon as the model is over 70,000 polygons total, it is automatically reduced to very poor.

  • @Lumaxes
    @Lumaxes Před rokem +4

    holy cow my frames are so high now

  • @kassixo
    @kassixo Před rokem

    Interesting, but can it optimize an avatar with high poly to a green one? : /

    • @Freezorgium
      @Freezorgium Před 6 měsíci

      Nothing you can do with a high poly count except maybe delete unnecessary parts of the avatar (like alternate clothes you don't use), or, if you're feeling brave, going to Blender and decimating stuff.

  • @Konprise
    @Konprise Před rokem

    you are so cool

  • @Slipdash
    @Slipdash Před rokem

    Ur avi is really cute

  • @Yutaru
    @Yutaru Před 2 měsíci

    imagine walking in japan and carrying a vtuber in your arms wait wha

  • @stranger.granger
    @stranger.granger Před 5 měsíci

    I can has more tutorials? =3

  • @techiesimmer
    @techiesimmer Před 8 měsíci

    how would one obtain the avi file if you picked up a public avi ?

  • @sfm_pakic3527
    @sfm_pakic3527 Před 2 měsíci

    Fun fact i have a acer nitro 5 that as a rtx 3060 and it can run Minecraft and any other games at a solid 60 fps but vrchat
    A game with very simple graphics somehow get my fps to on average 30 to 45 fps when there are a lot of people in a world and when i mean a lot i just mean 15 to 30 people :d
    Btw I'm not playing in vr

  • @XIxR3DEEM3RxIX
    @XIxR3DEEM3RxIX Před rokem

    Interesting tutorial! I think I'll memorize the one and the other. I also like your avatar in the corner.
    What's also interesting for me is your voice. If you allow me this personal question: Are were you born as a woman?
    Or are you a transgender? If yes, you worked very good on your voice! I'm curious how you exactly worked on it.
    If the question is too personal for you, feel free to just ignore my message. ;P

  • @KBLola
    @KBLola Před rokem

    You are sooo cute, tysm for the tutorial 🥺

  • @YuriHonakoVr
    @YuriHonakoVr Před 4 měsíci

    ty baby girl love ur voice but girl ty

  • @pdbsstudios7137
    @pdbsstudios7137 Před rokem

    shameless creators make ugly unoptimized sample avatars