OnPersistenceUsageUpdated event signature mismatch between documentation and UdonSharpBehaviour class (SDK 3.10.0)
tracked
z4kky_y
In UdonSharpBehaviour class, the available method for OnPersistenceUsageUpdated is:
public virtual void OnPersistenceUsageUpdated()
It has no parameters, so the following documented signature cannot be overridden:
public virtual void OnPersistenceUsageUpdated(VRCPlayerApi player)
Trying to override the documented version results in a compiler error.
It would be helpful to clarify whether the no-argument version is intentional (i.e., always referring to the local player), or if the UdonSharp stub is missing the correct signature.
Log In
White Lotuz
Hey z4kky_y thanks for reporting this! Just want to clarify that there's indeed a mismatch between our documentation and the class definition.
OnPersistenceUsageUpdated
should output void
(this is the bug to fix in our docs), however it should not take any params. Hope that helps, we'll keep this report open to update once the documentation fix is deployedThis post was marked as
tracked