You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Public embed (/embed/<id>) draws authored objects as empty placeholder boxes #1298
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
Create a project with at least one authored object (add_object), on the standalone editor.
Turn on its public link with Share.
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.
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.
Activity
Aymericr commentedon Nov 22, 2026
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.