Changelog
Release history of the Common Library, newest first.
v0.3.1 2026-10-20
✨ 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 public - see state initializationAbstractSynchronizedBehaviour.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
v0.2.1 2026-10-18
🐞 Fixed
ArrayUtils.RemoveElement: the last element of the returned array was left empty (nullor the type’s default value) unless the removed element was the last oneArrayUtils.RemoveElement: a negative index now returns the array unchanged instead of throwing an exceptionArrayUtils.FindElement: searching for null now finds null elements; the fix in 0.2.0 was incompleteArrayUtils.FindElement: a negative or out-of-range offset now returns-1instead of throwing an exception
v0.2.0 2026-10-18
✨ Added
AbstractSynchronizedBehaviour.StateInitializedtells you whether an object has state yet, either because the local owner set it or because it was received from the network - see state initializationAbstractSynchronizedBehaviour.OnStateInitialized()is a hook that subclasses can override. It runs once, when the state is first initialized
🔧 Changed
AbstractSynchronizedBehaviournow implementsOnDeserialization- implementations which override it must callbase.OnDeserialization()synchronizationBackoffnow has a minimum of0.1seconds in the Inspector
🐞 Fixed
AbstractSynchronizedBehaviour: a pending synchronization retry could be skipped when the wait timer landed on exactly zeroAbstractSynchronizedBehaviour: an invalidsynchronizationBackoffis now always logged as an error, even when synchronization debugging is offArrayUtils.RemoveElement: the returned array was filled with the removed element instead of the remaining ones
📚 Documentation
- Subclasses of
AbstractSynchronizedBehaviourmust call the base implementation of every method they override _EnsureOwnership()now explains that changing values before the state is initialized may reset them to their defaultsArrayUtils.AddElementnow explains how it differs fromAddElementOrCreate
v0.1.0 2026-03-16
✨ Added
- Initial release, containing a subset of scripts previously shipped as part of other VRCTools packages:
AbstractSynchronizedBehaviour,ArrayUtilsandAnimatorUtilities