Skip to main content

Coming from VRChat

The StageTime SDK follows UdonSharp closely, so most worlds' scripts move over with a find-and-replace.

Name map​

VRChat / UdonSharpStageTime
using UdonSharp; using VRC.SDKBase; using VRC.Udon;using StageTime.SDK;
UdonSharpBehaviourStageTimeBehaviour
[UdonSynced][Synced]
[UdonBehaviourSyncMode(...)] + RequestSerialization()not needed: changes are sent automatically (RequestSerialization() still compiles)
VRCPlayerApiStageTimePlayer
Networking.LocalPlayer, IsMaster, IsOwner, GetOwner, SetOwnersame
Networking.GetServerTimeInSeconds() / ...InMilliseconds()same, plus GetServerTick() and GetTickRate()
Utilities.IsValidsame
NetworkEventTarget.All / Ownersame, plus Others and Self
SendCustomEvent, SendCustomNetworkEvent, SendCustomEventDelayedSeconds / Framessame
GetProgramVariable / SetProgramVariablesame
Interact, OnDeserialization, OnPlayerJoined / Left, OnOwnershipTransferredsame
OnPickup, OnDrop, OnPickupUseDown / Upsame
OnStationEntered / ExitedOnSeatEntered / OnSeatExited
InputJump, InputUse, InputGrab, InputDrop, InputMoveHorizontal / Vertical, InputLookHorizontal / Vertical (UdonInputEventArgs)OnInputJump(bool, STInputArgs) and so on (Player input); also StageTimeInput.move / look / GetButton to read them every frame, GetButtonValue for how far a trigger is pulled (0 to 1), and OnInputSecondaryUse for the left trigger
OnPlayerTriggerEnter / Exitsame
InteractionText, DisableInteractivesame
VRC_SceneDescriptorST World
VRC_Pickup + VRC_ObjectSyncST Pickup (always synced; add a Rigidbody for physics and throwing)
VRCObjectSync (Respawn, SetKinematic, SetGravity)ST Object Sync (same methods)
VRCStation (UseStation, ExitStation, stationEnterPlayerLocation, PlayerMobility, …)ST Seat (Sit, StandUp, enterLocation, takeControls, …); seats on moving objects carry their players
VRCUnityVideoPlayer (PlayURL, Pause, SetTime, OnVideoStart, …)ST Video Player: synced by StageTime (no owner sync script), direct .mp4 links only
VRC_MirrorReflectionST Mirror
VRC_SpatialAudioSource (Gain, EnableSpatialization, …)ST Spatial Audio Source (gain, spatialize, roomAcoustics, reverbSend, volumetricRadius); distance falloff comes from the Audio Source's own 3D settings
VRCImageDownloader.DownloadImage + OnImageLoadSuccess / ErrorST Image Loader component: shows the image on a renderer or Raw Image for you; same event names without a parameter (read result, width, height, error); one image per loader, freed when the next arrives
VRCStringDownloader.LoadUrl + OnStringLoadSuccess / ErrorST String Downloader component: same event names without a parameter (read result / error); for big lists use an ST Data Table (search and sort done by StageTime)
Udon queue prefabs (synced arrays + owner logic)ST Queue: synced by StageTime, checked on one device; your script decides what the first entry does
Networking.IsInstanceOwner, player.isInstanceOwnerisInstanceOwner, plus isRoomHost and isModerator (roles)
VRC_UiShapeadded automatically to canvases with buttons
InputField / TMP_InputField, Dropdown / TMP_Dropdownsame, see UI and interaction; the right keyboard is added for each device; set dropdown options with DropdownOptions
UdonBehaviour component + program assetjust your script component
Button → UdonBehaviour.SendCustomEvent("Name")Button → YourScript.Name directly
Build & TestStageTime SDK → Build Window
ClientSimlocal preview (single player, plain C#)

Differences to know​

  • A world is a scene, like a VRChat world, and keeps its baked lighting. Exactly one root object has ST World (StageTime's scene descriptor); the builder moves the other root objects under it.
  • Uploading happens in the Build Window after signing in with your StageTime account, like the VRChat SDK's Builder tab. StageTime gives the world its id; uploads need StagePass.
  • Sync is always automatic. Values are sent whenever they change.
  • Synced strings hold up to 60 bytes. Synced arrays have a fixed length set by their initializer (new int[4]) and cannot hold strings.
  • Calling back into a running script (A calls B, B calls A) stops both scripts. UdonSharp allows it.
  • No recursion. Use loops.
  • Pickups stay owned by the last holder after a drop.
  • StageTimePlayer.isMaster is only reliable for the local player.

Not available yet​

VRChat
VRCInstantiate, Destroy, object poolsplanned
Variable-length synced arrays, synced string arrays, [FieldChangeCallback]planned
OnCollisionEnter, player collisions and particle collisionsplanned
Physics.Raycastplanned
Tracking data and bones, walk/run speed, immobilizehead position and rotation only
AVPro video, streaming links (YouTube, live streams), URL input fieldsnot planned yet
Player data and persistence, avatar pedestals, portalsnot planned yet