Skip to content

Self-hosted engine binary still requires cdn.8thwall.com for Draco library #6

@kidapu

Description

@kidapu

Description

The xr-standalone.zip distributed for self-hosted deployments contains hardcoded references to cdn.8thwall.com, preventing fully offline operation.

Affected Files

File Line Code
xr.js 43 resolveDracoWorker:dI("https://cdn.8thwall.com/web/resources/draco-worker-l5sniji5.js")
xr.js 43 resolveDracoWrapper:dI("https://cdn.8thwall.com/web/resources/draco_wasm_wrapper-l325u8do.js")
xr-slam.js 43 resolveDracoWorker:pQ("https://cdn.8thwall.com/web/resources/draco-worker-l5sniji5.js")
xr-slam.js 43 resolveDracoWrapper:pQ("https://cdn.8thwall.com/web/resources/draco_wasm_wrapper-l325u8do.js")

Problem

According to the Self-hosted Project Migration Guide, projects should be able to run independently after migration. However, the
engine still fetches Draco (3D mesh compression) libraries from cdn.8thwall.com at runtime.

When 8th Wall CDN is discontinued, self-hosted projects using Draco-compressed 3D models will fail to load.

Suggested Solutions

  1. Include Draco files in xr-standalone.zip - Add the required Draco worker files to the distribution
  2. Make paths configurable - Allow developers to specify custom Draco library paths via XR8.configure() or similar
  3. Use Google's official Draco CDN - Reference https://www.gstatic.com/draco/versioned/decoders/ instead, which is stable and maintained by Google

Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions