VRChat Unity - Material Swap Using A Toggle (Mat Slot Fix Included!)
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
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
@ActionVR click on the "shadererror" and swap it to what ever you want
either a vrchat shader or poiyomi one
@ActionVR czcams.com/video/lgViWDg5Xcw/video.html
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!
These videos have been the most useful videos I've ever had when using unity, thank you!
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!!
Thanks man I have been having trouble with the Av3 Toggle creator with material swaps this really did help
Your tutorials are so good thank you so much
Thank you, it was really useful! Seriously, your tutorials are pure gold out here
This was very helpful! Still works in 2022 Unity!! Thank you for the amazing tutorial for dumb people like me! :)
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!
Happy I could help! ^-^
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.
thank you for the help
thank u so much!!
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 👍
Thats actually a solid idea, thank you i kill furries
Huh@@PxINKY
@@starcrafter_yt2722that’s the name of the person who made the comment
Fantastic tutorial! Thanks for your work on this
Those whiskers are absolutely adorable haha. Where'd you score those? Cute addition to the avatar
If you are referring to the bapper beast, It a free edit of the wicker available in Jin A's server!
@@PxINKY Ohh omg the whiskers come with the bapper! I see
Thanks again!
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
you can just use the in-application animator
record your pose and save it as an animation
@@PxINKY it's ok thank you very much
i cant find the animations tab
Dose it work on other avatars like ones that are not made by you?
What addon (or setting) are you using to show the write defaults and motion on the nodes in the animator?
Avatar 3.0, its a part of VCC
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?
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
its better to triangulate a plane and apply the dumby materials to each tri anyway great tutorial
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?
the materials could be locked or locked on different versions
you can try remaking them from fresh and thatll most likely clean it
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?
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
for some reason now when i do this it just gives me an erorr saying that unity cant revert overriden properties in animation mode :/
Same, hope someone can help us with this
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
interesting, do you have multiple mat swap animations?
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?
Its base unity, you need to add it if you dont see it
go to: Window -> Animation -> Animation/Animator
Thank you so much
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
You didn't sync your parameter. Make sure to do so
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?
You will need to edit the anim om the quest side to use quest compat materials
Alright, thank you so much! @PxINKY
during the animation steps, unity is not letting me drag in the new materials. I dont know why this is happening
drag a random "temp" one then the actual one after, ive had this issue too!
Hey how did you Get the New texture for the avatar and you might remember me I got banned but I’m back
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
What if we want more not one Material that we want to swap? with using other toggle
If you want to use multiple you can just use an int and connect all the states
Ok thanks for the info~
@@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 :[
can you do a video on how to swap between hairs not just the texture colors
You can just follow this tutorial, just toggle the hair object instead when animating
i got it thank u
@@PxINKY
Is this method quest compatible?
Yes, but youll need to animate quest shaders instead
The easy way i found is to materiel swap with a vcrfury toggle
That is indeed a feature of VRCFury
did not work for me
What seems to be the issue? does the animation not play? does it not show the change in the "avatar preview" under the animation?
@@PxINKY load in to vrc and it already turn on and stays on cant swap back
Instead of "Intermissions" you should get that out of the way sooner.
?
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
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
maybe slow down a bit while doing tutorials please its great but my brain cant process it lowkey
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