Skip to content

v0.3.68 — Trust the Unity state behind each UI action

Choose a tag to compare

@FoxsterDev FoxsterDev released this 03 Sep 21:26
· 11 commits to master since this release

v0.3.68 — Trust the Unity state behind each UI action

Why this matters

An unfocused Unity Editor can report Play Mode while advancing no frames. UI
actions then look broken even though the game loop is only throttled, and a
Game View screenshot can also use a different render size from the dimensions
reported by Screen.*. Greenfield projects additionally had to stitch UI
interaction, hook scaffolding, and test-stall diagnosis together by hand.

What changed

  • UI reads, guarded clicks, Game View screenshots, prefab rendering, and
    persisted scenario steps now carry player-loop liveness, editor focus,
    remediation, and a result trust class at the point of use.
  • Screenshot and UI evidence reports the effective render-target dimensions
    separately from Unity Screen.* dimensions and flags a mismatch.
  • Scenarios add ui_exists and ui_get_text alongside guarded ui_click.
    unity_scenario_capabilities exposes the schema, while validation accepts an
    inline scenario or a project-scoped JSON file.
  • EditMode and PlayMode test results report console-error pressure since the
    request began, including lower-bound evidence when a domain reload resets the
    counter session.
  • The package adds XUUnityLightMcpMutationDelta.Create(...). The host adds a
    preview-first, approval-gated project-hook scaffold and scalar
    xuunity_setup_plan.projectRoot support.
  • The package self-test runner now includes the optional uGUI EditMode assembly
    when that dependency is present.

What this gives developers

  • A throttled editor is no longer mistaken for broken game logic during a UI
    interaction or capture.
  • Boot, UI assertions, interaction, and capture can stay in one ordered,
    persisted scenario result.
  • Project-specific scene and prefab creation starts from a guarded scaffold and
    a shared mutation-proof contract instead of copied boilerplate.
  • Test stalls expose concurrent console errors, and uGUI test coverage is no
    longer silently omitted by the standard package runner.

Validation

  • Full host discovery: 1007 tests passed with 14 expected platform skips,
    including live localhost TCP framing coverage.
  • Clean Unity 2022.3.67f2 and 6000.0.58f2 consumers passed
    compile/interactive acceptance, EditMode 99/99, and PlayMode 5/5, with
    verified editor closeout.
  • A separate uGUI-enabled Unity 2022 consumer passed the corrected package
    runner's EditMode lane 138/138.
  • Public documentation UI and accessibility checks passed 42/42 across
    desktop, mobile, and narrow Chromium viewports.
  • Release-version consistency, documentation freshness, public-safety, and
    audit-regression gates passed.

Known limitations

  • XUUnity reports editor-focus and player-loop remediation but does not
    automatically focus Unity or mutate operating-system focus state.
  • Hosted Unity Package CI remains explicitly waived because the runners do
    not have Unity license credentials. The clean local Unity 2022.3 and 6000.0
    runs above are the package evidence for this release.