VRChat Unity - Material Swap Using A Toggle (Mat Slot Fix Included!)

Sdílet
Vložit
  • čas přidán 21. 03. 2023
  • In This Video, I Show You How To Properly Create A Material Swap Animation Plus I Include A Fix To A Material Slot But In Unity 2019.4
    =======================================
    Get The Hobkin Redux Here: / hobbert
    =======================================
    Join My Discord!
    / discord
    =======================================
    Unity Hub: unity3d.com/get-unity/download
    VRChat SDK3: vrchat.com/home/download
    Blender: www.blender.org/
    =======================================
    Show your support!
    ko-fi.com/pxinky
    / pxinky
    / @pxinky
    =======================================
    Get your own avatar cam! (Discord link)
    / discord
    =======================================
    Tags:
    Mesh Fix Unity Toggle Material Swap Animator Blender 2019.4
  • Hry

Komentáře • 72

  • @PxINKY
    @PxINKY  Před rokem +21

    Quick note: Turns out my understanding on the issue is a little off but the fix i provide still 100% works
    Turns out its the fact of animating the 4th slot that breaks the 2nd causing both to work incorrectly. So in the end my fix still works, just a little wrong, oops

    • @PxINKY
      @PxINKY  Před rokem +1

      @ActionVR click on the "shadererror" and swap it to what ever you want
      either a vrchat shader or poiyomi one

    • @PxINKY
      @PxINKY  Před rokem +1

      @ActionVR czcams.com/video/lgViWDg5Xcw/video.html

    • @SirSilveru
      @SirSilveru Před 7 měsíci

      Hello! thank you for the tutorial! quick question you mentioned this error was happening on unity 2019.4 it seems now VRC uses 2022.3.6
      do you know if this error is now fixed or do we still need to do this workaround ourselfs? thank you for your time!

  • @babyplagueplogue857
    @babyplagueplogue857 Před 10 měsíci +2

    These videos have been the most useful videos I've ever had when using unity, thank you!

  • @TbgAndCo
    @TbgAndCo Před rokem +3

    I'm probably not going to do this for any of my avatars but im glad i now know how to do this for the future if someone asks me for this. thank you so much!!

  • @Milwalkie
    @Milwalkie Před rokem +2

    Thanks man I have been having trouble with the Av3 Toggle creator with material swaps this really did help

  • @thundy8210
    @thundy8210 Před rokem +4

    Your tutorials are so good thank you so much

  • @PDD555
    @PDD555 Před 5 dny

    Thank you, it was really useful! Seriously, your tutorials are pure gold out here

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

    This was very helpful! Still works in 2022 Unity!! Thank you for the amazing tutorial for dumb people like me! :)

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

    THANK YOU D:
    SO MUCH!
    This has been a live-safer, when i had two separate custom skins for my fursona to switch from cute to monster, now i can, thank you thank you THANK YOU :D!

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

      Happy I could help! ^-^

  • @Stellaruz
    @Stellaruz Před rokem +2

    When I want to swap several materials, in the Unity editor it looks correct. But when I test it (GestureManager) only one of the materials responds, but at the same time inside the game (vrchat) it works correctly. It's strange.

  • @naynaysfx8940
    @naynaysfx8940 Před 7 měsíci

    thank you for the help

  • @toxzicmelona5339
    @toxzicmelona5339 Před 10 měsíci +1

    thank u so much!!

  • @ikillfurries
    @ikillfurries Před rokem +12

    Aye you might wanna try posting short 1 min tutorials using the yt shorts format, that will get you tons of new traction to your channel and help build a community 👍

    • @PxINKY
      @PxINKY  Před rokem +8

      Thats actually a solid idea, thank you i kill furries

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

      Huh​@@PxINKY

    • @ArachnoVR-vm7im
      @ArachnoVR-vm7im Před 2 měsíci

      @@starcrafter_yt2722that’s the name of the person who made the comment

  • @l33tster
    @l33tster Před rokem +2

    Fantastic tutorial! Thanks for your work on this
    Those whiskers are absolutely adorable haha. Where'd you score those? Cute addition to the avatar

    • @PxINKY
      @PxINKY  Před rokem +2

      If you are referring to the bapper beast, It a free edit of the wicker available in Jin A's server!

    • @l33tster
      @l33tster Před rokem

      @@PxINKY Ohh omg the whiskers come with the bapper! I see
      Thanks again!

  • @diegoalmonte3144
    @diegoalmonte3144 Před rokem +4

    hello PxINKY I love your videos and they have helped me a lot when it comes to doing some things to the avatars, but I have a question, is there any extension for the avatars to make poses? something like jojo poses

    • @PxINKY
      @PxINKY  Před rokem +1

      you can just use the in-application animator
      record your pose and save it as an animation

    • @diegoalmonte3144
      @diegoalmonte3144 Před rokem

      @@PxINKY it's ok thank you very much

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

    i cant find the animations tab

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

    Dose it work on other avatars like ones that are not made by you?

  • @stathyena
    @stathyena Před rokem +1

    What addon (or setting) are you using to show the write defaults and motion on the nodes in the animator?

    • @PxINKY
      @PxINKY  Před rokem

      Avatar 3.0, its a part of VCC

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

    I'm confused when you say to create a new swap animation when not all the WD's are checked. I started all over for the new swap animation and when I tried to swap back to my original mat in the gesture manager, it wouldn't. Was I supposed to start all over and just have another toggle for material swap, or was there a point in the middle of the process I could've started from for the "swap back" animation?

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

      To ease the process, try making 2 animations. One of swapping to default texture, and one of the new one
      Then set it up like any other toggle

  • @eunisecreative
    @eunisecreative Před rokem +1

    its better to triangulate a plane and apply the dumby materials to each tri anyway great tutorial

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

    I have no clew why but when I am creating my animation, it always changes to a pink error texture when I try to play back the animation or swap from animation to project tab and back. I tried carrying on with the rest of the structure but then I upload and it's just all error pink. (trying to make different texture toggles for a shirt, prior to poiyome 7 it always worked for me). Any clew what I could be doing wrong?

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

      the materials could be locked or locked on different versions
      you can try remaking them from fresh and thatll most likely clean it

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

    Whenever I get to the part for when I have to make it (Material) > true in the transitions, the animation doesn't pop up in the list for some reason when I do it for a second time. Is there a fix for this?

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

      If you have the original material you may need to animate a fake one first then drag the one you want over. Sometimes it wont let you apply an already applied material

  • @DrPickleCheese
    @DrPickleCheese Před 6 měsíci +2

    for some reason now when i do this it just gives me an erorr saying that unity cant revert overriden properties in animation mode :/

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

      Same, hope someone can help us with this

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

    i followed all of these steps but my toggle just does nothing when in game and in the gesture manager preview. when i test the specific animation it works but not when implemented

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

      interesting, do you have multiple mat swap animations?

  • @Miki_153
    @Miki_153 Před rokem

    Theres no animation option next to console and project. Is there an add-on im supposed to add in VCC or do i need to change the sdk?

    • @PxINKY
      @PxINKY  Před rokem

      Its base unity, you need to add it if you dont see it
      go to: Window -> Animation -> Animation/Animator

    • @Miki_153
      @Miki_153 Před rokem

      Thank you so much

  • @2fast2kart
    @2fast2kart Před 19 dny

    can you tell me why this only works for the person wearing the avatar? it doesnt change for anybody else in the game when they look at me when i change the materials in game.
    it just stays the way it was

    • @PxINKY
      @PxINKY  Před 19 dny

      You didn't sync your parameter. Make sure to do so

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

    Hello!
    Quick question, if I made a cross platform avatar that has material swaps using this method, would people on the opposite platform be able to see it?
    So if someone on PC was wearing an avatar and swapped the material, would a Quest user be able to see it?

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

      You will need to edit the anim om the quest side to use quest compat materials

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

      Alright, thank you so much! @PxINKY

  • @kingfuff402
    @kingfuff402 Před 7 měsíci

    during the animation steps, unity is not letting me drag in the new materials. I dont know why this is happening

    • @PxINKY
      @PxINKY  Před 7 měsíci

      drag a random "temp" one then the actual one after, ive had this issue too!

  • @ActionVRTR
    @ActionVRTR Před rokem

    Hey how did you Get the New texture for the avatar and you might remember me I got banned but I’m back

    • @PxINKY
      @PxINKY  Před rokem

      As in the material. or the actual texture itself?
      one you just create in unity, the other you do in ssp, ps, or other art applications

  • @panictogy
    @panictogy Před rokem

    What if we want more not one Material that we want to swap? with using other toggle

    • @PxINKY
      @PxINKY  Před rokem +1

      If you want to use multiple you can just use an int and connect all the states

    • @panictogy
      @panictogy Před rokem

      Ok thanks for the info~

    • @foxatheartist
      @foxatheartist Před rokem

      ​@@PxINKYHey man, Love your videos! Though, I am having this problem as well, i can only get 1 material to stay. Can you go into more detail about this comment reply? It would really be helpful! Like, what would the Int be called, where would it go, and by states, do you mean animations, would the off animation have to be included somewhere?
      Im sorry, I know its a lot of questions and you're only one person :[

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

    can you do a video on how to swap between hairs not just the texture colors

    • @PxINKY
      @PxINKY  Před 7 měsíci

      You can just follow this tutorial, just toggle the hair object instead when animating

    • @TheSaltzz
      @TheSaltzz Před 7 měsíci

      i got it thank u
      @@PxINKY

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

    Is this method quest compatible?

    • @PxINKY
      @PxINKY  Před 6 měsíci +1

      Yes, but youll need to animate quest shaders instead

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

    The easy way i found is to materiel swap with a vcrfury toggle

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

      That is indeed a feature of VRCFury

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

    did not work for me

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

      What seems to be the issue? does the animation not play? does it not show the change in the "avatar preview" under the animation?

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

      @@PxINKY load in to vrc and it already turn on and stays on cant swap back

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

    Instead of "Intermissions" you should get that out of the way sooner.

  • @harurosech.4848
    @harurosech.4848 Před měsícem

    using vrcfury is easier and should work for all unity versions like this video czcams.com/video/aZ3wuqVxGtE/video.html
    So i guess this is one outdated way of doing it

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

      As you may or may not have noticed this was posted a year ago ^-^
      My newer videos are going over vrcfury
      That being said this is still useful to creators who want to ship it in a package without having vrcfury as a dependancy

  • @Instaboi-gb9qv
    @Instaboi-gb9qv Před 5 měsíci

    maybe slow down a bit while doing tutorials please its great but my brain cant process it lowkey

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

      Sorry, i go at my natural pace. You can try and see if putting the video at 0.75 helps!
      On another note, my newer videos go more indepth if you want to learn a bit more