Skip to content

Public embed (/embed/<id>) draws authored objects as empty placeholder boxes #1298

Open

Description

@AleeAbdullah

What happened?

A shared project's public link (/embed/<id>) draws every authored object (add_object, scripted windows, doors and columns) as an empty placeholder box. The same project opened in the editor (/project/<id>) draws them correctly.

Why

EmbedViewer never configures an artifact store. resolveArtifactUrl() and getArtifactStore().text() then fall back to core's default in-memory store, which is empty in a fresh tab, so every artifact://<sha256> resolves to null. The page makes no /api/artifacts/* requests at all.

The editor calls useLocalArtifactStore() in SceneLoader; the embed page doesn't. The server side is already in place: the artifacts route lets an unauthenticated GET through for an artifact referenced by a shared scene (isArtifactShared).

Steps to reproduce

  1. Create a project with at least one authored object (add_object), on the standalone editor.
  2. Turn on its public link with Share.
  3. Open /embed/<id>: the object is a placeholder box. Open /project/<id>: it renders.

Reproduced on main (cf37d32c) with bun dev, and first seen on the CLI runtime 1.0.6.

Expected behavior

The public link shows authored objects as the editor does.

I have a small fix ready and will open a PR that links here.

Activity

  1. Aymericr commented on Nov 22, 2026

    @Aymericr
    Member

    Thanks for the clear report @AleeAbdullah. The fix is up in #1299 (load authored objects in the public embed) and has been reviewed. It's waiting on its CI run.

  2. added
    bug
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions