JetDogs prefabs

Welcome everyone! With the success of my original prefabs for sdk2 worlds I think its about time to move into udon. The goal of this is to help teach people how to make things in vrchat. covering from basics to more advanced works. I will primarily be trying to use vrchats node graph but more complicated things I will be using merlins UdonSharp.

I will be posting updates and accept requests here.
Github: Jetdogs-Prefabs-Udon
Patreon: JetDogLabs
Twitter: jetdog8808_dev
Twitch: jetdog8808

4 Likes

started work yesterday small preview of it so far.

2 Likes

current list of prefabs im working on.

  • fixed pickup
  • reset pickup timer
  • books
  • two handed weapon
  • camera recording system
  • npc walking
  • circular portal
  • pickupchair
  • head correction chair
  • hud prefab
  • clock
  • look at constraint
  • keypad text
  • postprocessing
  • spawn delete obj
  • snap camera
  • fps controlled camera
  • flying controller
  • flying chair
2 Likes

Version 1.0.0 is now public!!!

1 Like

If you would like to see a preview in game click this link:

1 Like

Version 1.1.0 is now public

really cool stuff. I have a problem with the keypad. Enter and Backspace doesnt work. Any chance you can implement a videoplayer that everyone in the world can use? the UDON Example (AVPro) can only be accessed by the master. i tried to fiddle with the Instance master prefab you build but i have like no clue whatsoever in coding and thought this might be a workaround to change the master or what is the purpose of that prefab?

I would make sure you have the latest version of my prefabs V1.1.1 vrchat now has a white list of ui events which breaks the older version of the keypad.

I have a video player I made in my dynamic theater but would require work for you to remove it from the scene. I do have plans on making a video player prefab but have some other work first. if you need one now I would suggest merlins usharpvideo player

The instance master prefabs was based on a older prefabs from sdk2. that would have a identifier above the instance masters head so people know who is master. its not for changing ownership of objects.

1 Like

Thx for the fast reply. I have 1.1.1 installed. I can type numbers and if I set a teleporter or a game object it doesn’t trigger it if I press enter and backspace doesn’t remove any numbers. Not the button and not backspace on the keyboard work. I will check the player out. Thx for the explanation on how the instance master works. Still we couldn’t see any icon or so on a players head after I placed it in the scene to test.

I know it works cause the public world has it working fine. make sure the graph is compiled, sounds like the code is not being executed from either not being compiled or a error stopping the udon behaviour.

In the instance master prefab I have it set not to follow at the start and needs to be turned on. if you want it to automatically follow make sure to check the bool in the inspector.

1 Like

Nice job thank you!

Version 1.2.0 is now public.

Hello Jetdog! I actually set up my account here to make a first post because your stuff has been extremely helpful, and I visited your theater. I do have a question and it is a bit nuanced. I’ve discovered a problem with the audio between the two types of players in the theater (and in every DIY thing I’ve done outside this, so it’s not you).

With the unity video player, I can hear audio just fine.
With the “VRCAV Pro” version, my sound mixer’s VU meter shows that the VRChat program is emitting sound just fine. However, it is not making it to my headphones. What is strange, however, is that I can hear the other VRChat sounds just fine. It’s as if the sound from the video is being piped to a channel that the Windows system can hear, but my headphones cannot hear. How does the audio differ between the two player scripts?

It seems that however the sound is getting piped between the Unity player and the AV Pro player is different, in such a way that Windows 10 cannot discern a difference through its UI. In both cases, the video plays visually just fine. In both cases, Windows 10 perceives there being audio corresponding to the video playing. In the AV Pro case, the sound never makes it to my ears. This behavior is identical to the two cases where I made a video player using the corresponding script, so it has something to do with the scripts. It’s been perplexing me for weeks.

I’m sure it’s some kind of driver issue (in which case there’s nothing I can do), but clearly the audio is distinctly different between the two scripts, and VRChat’s audio is treated differently before it reaches the end user’s ears. I would greatly prefer to use the AV Pro player because of its flexibility in routing sound.

Additionally, do you know where I would best look for comprehensive documentation on the different udon scripts and methods? I’ve, so far, found nothing. I’m not talking about tutorials. I mean guides (even loose notes?) that were written up by the people who built this framework in the first place.

EDIT I should clarify that my goal is not to get sound working on my headphones. I understand that that might come down to a driver issue, so it’s out of everyone’s control. I’m more interested in the backend, or, how the two scripts differ in handling the sound.

the audio is usually caused by the users playback device not being set to 48000Hz.
For documentation for the unity player you can look here. https://docs.unity3d.com/2018.4/Documentation/Manual/class-VideoPlayer.html

For avpro its a paid assets on the unity assets store.
https://assetstore.unity.com/packages/tools/video/avpro-video-56355
But you can get a trial version from their website.


there should be some documentation on their website.

Documentation is pretty lacking for udon most of it is trial and error. but it is another format of C# so any documentation of that can be transferred to udon. Unity has its own documentation that you can read through. To know what is available for udon I use a handy tool by merlin in udonsharp to see what is whitelisted.


Most of the functions and properties are self explanatory the rest I test to see what it does.

Thanks for this information! I never thought about the Hz of the playback device. It looks like that might indeed be a limitation since my headphones are hardware limited to 44.1 khz. I can hear the voice and interface sounds just fine, but specifically from one certain type of video player, I can’t hear any of that audio. I’ll probably just have to get another pair of headphones with a wired connection.

I’ve heard udonsharp a few times and I think it’s time that I dive into it because I’m hearing quite a few people recommending it. On one hand, I’m glad I was somewhat thorough in looking for udon documentation, but on the other hand, part of me was hoping that there was some comprehensive guide that I was just missing. Hopefully sometime something gets put together! I really do like the idea of it, especially since VRC is so visual-based. Kinda seeing everything organized that way is an interesting way to do it.