Repository navigation
✨ Added
UdonDebugwrites log messages prefixed with the type and object name of the behaviour that wrote them. In the editor, both names are color codedIsLocallyOwned(),HasOwnership(player),SetOwnership(player)andTakeOwnership()extension methods forGameObjectandUdonSharpBehaviour. The behaviour variants returnfalseor do nothing when the behaviour has already been destroyed[EventHook]marks overridable hooks with an empty body. Overrides do not need to call the base implementation[MustCallBase]marks methods whose overrides must call the base implementation[CustomEvent]marks methods invoked viaSendCustomEventorSendCustomEventDelayedSeconds[NetworkEvent]marks methods invoked viaSendCustomNetworkEvent- The editor now checks these attributes whenever scripts are reloaded and logs a warning for every violation. Clicking a warning selects the offending script
AbstractSynchronizedBehaviour:Start,Update,OnPlayerJoined,OnPlayerLeft,OnOwnershipTransferred,OnPostSerializationandOnDeserializationare now marked[MustCallBase], and_OnStateInitialized()is marked[EventHook]
🔧 Changed
- VRChat Worlds SDK 3.8.1 or newer is now required
AbstractSynchronizedBehaviour.StateInitializedhas been renamed toIsStateInitializedand is now publicAbstractSynchronizedBehaviour.OnStateInitialized()has been renamed to_OnStateInitialized(). Overrides using the old name no longer compile- Subclasses of
AbstractSynchronizedBehaviournow always use manual synchronization unless they declare their own[UdonBehaviourSyncMode] AbstractSynchronizedBehaviournow writes its log messages viaUdonDebug
🐞 Fixed
AnimatorUtilities.ResolveParameterIds: passingnullnow returns an empty array instead of throwing an exception
📚 Documentation
_OnStateInitialized()now explains when it is invoked- The contribution guidelines now describe the package's code conventions