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
OnPlayerTriggerEnter / Exitsame
InteractionText, DisableInteractivesame
VRC_SceneDescriptorST World
VRC_Pickup + VRC_ObjectSyncST Pickup (always synced)
VRCStation (UseStation, ExitStation, stationEnterPlayerLocation, …)ST Seat (Sit, StandUp, enterLocation, …)
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
VRC_UiShapeadded automatically to canvases with buttons
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 or a prefab. A scene keeps its baked lighting, like a VRChat world. Either way, exactly one object has ST World; in a scene the builder moves the other root objects under it.
  • 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), string and image downloading, URL input fieldsnot planned yet
Player data and persistence, avatar pedestals, portalsnot planned yet