static classes in UdonSharp
Static classes with generic methods and recursion unexpectedly execute in Editor without typical Udon restrictions or required attributes.
- PersistenceUtilities in the official HealthBar example is a non-behavior static class with generic function overloads that works in the Editor despite Udon documentation rules
- Methods in this custom SDK addition contain exposed Udon functions that may be unpacked directly by the UdonSharp compiler
- Tests showed recursive calls inside static methods ran in the Editor UdonVM without requiring the standard RecursiveMethod attribute
- Removing the static keyword from the utility class does not break compilation or execution in this scenario


