Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Release 2.1.0

Latest

Choose a tag to compare

@CoderGamester CoderGamester released this 20 May 16:13
989a210
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

New:

  • VersionServices now auto-bootstraps via [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)], populating version metadata before any scene Awake callback and before vendor-SDK SubsystemRegistration callbacks that read it. Consumers no longer need to call LoadVersionData() / LoadVersionDataAsync() explicitly for the default flow.

Changed:

  • Property getters (VersionInternal, Branch, Commit, BuildNumber) now lazy-load via a new private EnsureLoaded() on first access if the auto-bootstrap hook has not yet fired — protects against undefined ordering between sibling assemblies' [RuntimeInitializeOnLoadMethod] callbacks at the same phase.
  • Removed the private IsLoaded() helper (replaced by EnsureLoaded() invoked from each property getter).

Docs:

  • docs/version-services.md rewritten around the new auto-bootstrap contract: the recommended usage no longer includes any explicit load call, the lazy-load fallback is documented, and the Error Reference table now describes the fallback behaviour (no exception is raised).

Full Changelog: 2.1.0...2.1.0

Assets 3
Loading

AltStyle によって変換されたページ (->オリジナル) /