-
Notifications
You must be signed in to change notification settings - Fork 2
@CoderGamester
CoderGamester
released this
20 May 16:13
989a210
This commit was created on GitHub.com and signed with GitHub’s verified signature.
New:
VersionServicesnow auto-bootstraps via[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)], populating version metadata before any sceneAwakecallback and before vendor-SDKSubsystemRegistrationcallbacks that read it. Consumers no longer need to callLoadVersionData()/LoadVersionDataAsync()explicitly for the default flow.
Changed:
- Property getters (
VersionInternal,Branch,Commit,BuildNumber) now lazy-load via a new privateEnsureLoaded()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 byEnsureLoaded()invoked from each property getter).
Docs:
docs/version-services.mdrewritten 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