Files
workinf_Blender_Wasm/docs/web/KNOWN_LIMITATIONS.md
mes123456 d5f77487d0 fix(web): draw the Outliner only where the native workspace has one
The Rendering workspace rendered an Outliner panel whose tree was always
empty. Desktop's Rendering screen holds Properties, Dope Sheet and Image
Editor with no Outliner, and the engine exports Outliner rows for the
active workspace only, so a panel there could never fill. The panel now
follows the native workspace areas: Rendering draws none, every other
workspace keeps its rows.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 18:23:38 +08:00

7.7 KiB

Web Blender Modeler V1 Known Limitations

These limits apply to 0.1.0-rc.1. A successful bounded gate is scoped to the declared operation, fixture, resource budget and browser configuration. The capability claim is the 31/31 support matrix in tools/web/manual/feature-matrix.json (local or official server/native backend), enforced by tools/web/check-parity-claim.mjs. See V1_SCOPE.md for the normative product boundary; the legacy parity-ledger.json is historical planning data.

Browser and deployment

  • Chromium is the only V1 browser baseline. Firefox, WebKit, mobile browsers, touch, pen, IME and non-Chromium accessibility compatibility are not release claims.
  • Production requires HTTPS. http://127.0.0.1 is allowed for local verification; public plain HTTP and file:// are unsupported. All app, Worker and engine assets must remain same-origin.
  • The base viewport uses WebGL2. OffscreenCanvas is a second tested production path. WebGPU is used only for the declared bounded NanoVDB path and is subject to adapter availability and limits.

Single-thread and pthread selection

  • AUTO selects pthread only when crossOriginIsolated, SharedArrayBuffer and Worker capability gates are all ready. Otherwise it selects the single-thread variant and reports the pthread gate.
  • A pthread initialization failure under AUTO is cleaned up before one single-thread attempt. A resource request failure outside this path remains an error.
  • A JS, WASM or pthread Worker SHA-256 mismatch is fatal (ENGINE_VARIANT_INTEGRITY_FAILED): there is no integrity fallback and no project is opened.
  • PTHREAD_REQUIRED blocks when its platform gate is not ready. SINGLE_REQUIRED never attempts pthread. A mixed app/manifest releaseId returns REFRESH_REQUIRED before engine initialization or project open; a full reload is required.
  • Both variants declare 256 initial WebAssembly pages (16 MiB) and a 32,768-page ceiling (2 GiB). This is a manifest ceiling, not a memory reservation or availability guarantee; Chromium, the OS or the device can reject growth earlier.

Project storage

  • OPFS and IndexedDB are bound to the exact scheme, host and port. Moving between origins does not migrate projects. Clearing site data or a browser profile deletes locally stored projects and caches.
  • Chromium and the operating system control quota. V1 reserves no minimum capacity and cannot infer that navigator.storage.estimate() free space will remain available through a save.
  • Atomic save preserves the last committed revision on quota failure, but the new revision is not durable until save succeeds. Export critical projects before upgrades and before deleting caches.
  • IndexedDB schema migration is forward-only. OPFS project manifest schema has no general reverse migration. An older app is blocked when it cannot read the current schema.

CPU, WASM and GPU budgets

  • The RC gates cover 100k, 1M and 10M geometry fixtures; they are not an unlimited scene-size claim. Imports and operations can block earlier when their own vertex, element, transfer, time or memory budgets are exceeded.
  • A texture asset is limited by protocol to 64 MiB, 16,384 pixels per dimension and 256 requested assets per scene. The actual WebGL MAX_TEXTURE_SIZE, address space and GPU memory may be lower. The release gate exercised 4K and 8K textures, not every format or 16K residency combination.
  • VDB input is bounded to 512 MiB, a NanoVDB bundle to 1 GiB, each chunk to 16 MiB and declared GPU residency to at most 512 MiB. Actual maxStorageBufferBindingSize and maxBufferSize may be lower.
  • NanoVDB pages are explicit and LRU-bounded. Automatic viewport page-fault feedback, depth-composed production demand paging and an unbounded multi-grid material system are not included in V1.
  • GPU device loss or budget failure releases and recreates viewport resources where supported; it does not modify Blender Main or OPFS project bytes. A reduced scene or budget may still be required.

Known web UI gaps (observed 2026-11-25)

  • The Rendering workspace Outliner gap is closed by desktop parity, and its earlier reading was incomplete: desktop's Rendering workspace has no Outliner area at all (its native screen holds Properties, Dope Sheet and Image Editor), so there are no object rows to show there in the first place, and the web layout now hides the panel instead of drawing one that can never fill. The engine exports Outliner rows only for the active workspace, so an unconditional panel in a workspace without a native Outliner could only ever render empty. Layout, Modeling and Animation still render the panel and its rows; object picking for a render still starts from those.

Residual evidence gaps

  • The armature headed regression is resolved, and its earlier diagnosis was wrong: the armature object was never missing from the Outliner. Probe snapshots show it as 2:PoseConstraintArmatureObject under its parent ScaledRigParent, which is what desktop make_object_parent_hierarchy_collections builds, and the row stays stable across repeated OUTLINER_TOGGLE_EXPAND rebuilds. Ten headed hardware reruns of armature panel operates on the selected bone in web/tests/e2e/armature-editor-coverage-ui-production.spec.ts failed all ten times because the expand loop in web/tests/fixtures/native-ui-workflow.ts clicked a label list scanned before earlier replies landed: it re-clicked rows the reply had just opened, closing them, so each round flipped the same four rows and the loop never settled. The armature is the only one of the six objects one level deeper, so it is the only case that enters that loop; the other five armature cases pass. The loop now re-reads each row's own label before clicking and waits for that toggle to reach the tree; no timeout budget was widened. The case passes headed with hardware GPU after the fix.
  • Revision-conflict handling is per command in the engine Worker, not one shared protocol contract: moveNLAStrip, editEditorContext, editShaderNode, setSequencerStrips, setSculptMeshAttributes and the requested baseRevision of the modifier, constraint, curve-topology, Grease Pencil and NLA property commands are compared against currentSnapshot inline. setSceneViewLayerAOVs, setSceneViewLayerLightgroups, setNLAStack and setSequencerTransitions carry a revision field but do not reject a stale value, and editShaderNode reports staleness as INVALID_ARGUMENT. The shared contract and its tests live in web/protocol/web-engine-revisions.ts and web/tests/unit/web-engine-revisions.test.mjs; Worker adoption is a separate infrastructure batch.
  • Keyframe evidence stays PARTIAL: the Outliner keyframe case outliner-keyframe-keys-web proves the native keyframing operators ran and an action datablock appeared. The Outliner tree does not expose fcurve or keyframe counts, so no count assertion is made. No new engine evidence is claimed.
  • The per-editor cross-walk of these gaps lives in MODULE-COVERAGE.md, which records one row per EDITOR_TYPES entry and the stable gap ids MOD-<module>-NN.

Blender feature scope

Complete PBVH sculpt/paint, arbitrary Geometry Nodes and Shader evaluation, full physics solvers, Cycles, final video encoding, Python/Text autorun, add-ons and native GPU backends are either bounded, server-only or excluded. The exact family slices and stable blockers are in parity-ledger.json; unsupported data must be preserved or explicitly blocked, not reported as executed.

Use DEPLOYMENT.md for installation and rollback requirements, and operations-diagnostics.json for stable failure signals and data-safe recovery boundaries.