Skip to content

Onity 0.3.4 - OnityEvent shortcuts and IL2CPP benchmarks

Choose a tag to compare

@furkantokkan furkantokkan released this 31 May 13:50
· 20 commits to main since this release

Changed

  • Renamed Unity event shortcuts from Onity.Publish / Subscribe / Observe to OnityEvent.Publish / Subscribe / Observe for clearer call sites.
  • Gated benchmark comparison assemblies behind ONITY_BENCHMARKS so package-only users do not need VContainer or Zenject unless they run benchmarks.
  • Refreshed the README and comparison docs with the latest Editor/Mono and Windows IL2CPP Player DI benchmark tables.
  • Simplified benchmark/dependency wording and removed stale ZLinq references from public docs and changelogs.

Benchmarks

  • Editor/Mono: Onity baked is faster than VContainer and Zenject on all five measured DI timing scenarios.
  • Windows IL2CPP Player: Onity baked with generated AOT activators is faster than VContainer and Zenject on all five measured DI timing scenarios.
  • Latest player run: 2026-05-31T15:26:19Z, Unity 2022.3.62f3, Windows IL2CPP, 512 warmup / 8 samples / 10,000 iterations, 19 generated activators registered.

Verification

  • dotnet build onity-core-ci.csproj -c Release -nologo
  • Windows IL2CPP player DI benchmark: Packages/com.onity.framework/Benchmarks/Results/di-benchmark-player-latest.json
  • UPM branch updated for com.onity.framework version 0.3.4.