Skip to content

v0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Oct 15:20
· 1 commit to main since this release
a41fd24

Adds WebGLFileSystem.Persist() to the Unity package, so an outbox queue in a WebGL player survives a page reload, and widens the Unity tests to WebGL in CI, Android and the iOS Simulator. The NuGet packages have no code changes. The LRS still passes both ADL conformance batteries in full on SQLite and PostgreSQL (xAPI 2.0.0: 1435 of 1435, 1.0.3: 1365 of 1365) and the 5,299 tests pass on Linux. Of the 12 Unity tests, 11 pass in the editor and in a Linux IL2CPP player, where the reload test is skipped; in WebGL 8 pass and the 4 that need HttpClientHandler are skipped, before and after the reload.

Added

  • Xapi.Unity: WebGLFileSystem.Persist() saves Application.persistentDataPath to IndexedDB in WebGL players, where Unity writes that directory only when asked, so a FileOutboxStore queue there survives a page reload. Outside WebGL it does nothing. The WebGL tests check it across a reload.
  • tests/Unity: CI also runs the tests in a WebGL player, in headless Chrome, and they pass in Android and iOS IL2CPP players on an arm64 Android emulator and the iOS Simulator. CONTRIBUTING.md has the steps for both. See docs/unity.md.