Skip to content

UniNet v0.22.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 15:28
· 15 commits to main since this release

Generator type support expansion (GEN-002/GEN-004, generator 0.2.17 — no runtime change).

Added

  • Nested NetworkBehaviour support: the generated partial now wraps in the ContainingType chain (partial class Outer { partial class Inner { ... } }), enabling RPC/replication on nested classes.
  • Generic NetworkBehaviour definitions emit error UNINET016 (Unity cannot attach generic MonoBehaviour components).
  • RPC parameters accept Vector2/3/4, Quaternion (uncompressed float decomposition), and 1-D T[]/List<T> (null flag + UInt16 length prefix + sequential elements).