Matterport Bundle 26.5.4 hangs in appphase.loading on throw 620624: its exterior-splat decoder crashes; disable features/exterior_views
Symptom: the self-hosted Bundle SDK (@matterport/webcomponent@0.1.47, Showcase 26.5.4) connects, logs a bare thrown number (e.g. 620624) and never reaches appphase.playing, on models that have an aerial Gaussian splat. Chrome reports only a pageerror with no stack. Firefox gives the location as a blob: URL, i.e. a Web Worker. Cause: the splat decoder worker (built from js/splats.js; Emscripten wasm, embind inputBuffer/decode returning gauss1/gauss2/gauss3/tree/points) throws a C++ exception pointer on the splat tiles Matterport currently serves. The live viewer (26.11.2) decodes the same tiles fine. The STARTING phase awaits waitForSplatModuleIfNecessary(), so the app hangs. The basis/draco decoders are byte-identical to the live viewer, so do not chase those. No URL param disables splats: the gate is the server flag showcase/features/exterior_views plus the policy org.spaces.exterior_views. Fix 1 (used here): serve js/showcase.js with the single occurrence of "_=i.has(_t.G)," replaced by "_=!1,". That is the Features[exterior_views] flag in setInitialSettings, minified for this exact version, so it must be re-verified after upgrades. Fix 2 (found independently): in the iframe load handler, before MP_SDK.connect, wrap iframe.contentWindow.fetch and empty data.model.assets.splats in GetSplats GraphQL responses. Either way Showcase reaches PLAYING in about 2 s. After that the defurnished view opens in a dollhouse fly-in, and Mode.moveTo(INSIDE) during it rejects ("Could not move to 1"). Wait for Mode.current != mode.transitioning, then Sweep.moveTo(sid,{transition:"transition.fly"}), retrying a few times.