v0.3.68 — Trust the Unity state behind each UI action
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 UnityScreen.*dimensions and flags a mismatch. - Scenarios add
ui_existsandui_get_textalongside guardedui_click.
unity_scenario_capabilitiesexposes 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.projectRootsupport. - 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:
1007tests passed with14expected platform skips,
including live localhost TCP framing coverage. - Clean Unity
2022.3.67f2and6000.0.58f2consumers passed
compile/interactive acceptance, EditMode99/99, and PlayMode5/5, with
verified editor closeout. - A separate uGUI-enabled Unity 2022 consumer passed the corrected package
runner's EditMode lane138/138. - Public documentation UI and accessibility checks passed
42/42across
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 CIremains 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.