Old Sandcastle links are all broken

With the new Sandcastle (see Cesium Releases in October 2025 – Cesium ), the old Sandcastle links don’t work anymore. The page stays empty and the console shows the Uncaught TypeError: _.current.fonts.values() is not iterable error.

For example, Label Backgrounds do not appear when setting label `show` to `false` and then to `true` in specific cases. · Issue #12138 · CesiumGS/cesium · GitHub provides 2 sandcastle links, which have that problem. I corrected the first link to use the legacy sandcastle (Cesium Sandcastle instead of https://sandcastle.cesium.com/). But the legacy Sandcastle will only be there until November.

Is there a way to migrate old links to the new sandcastle? Or will all sandcastle links provided in the forum and in github bug issues and other places just be broken now?

It is really important that all existing Sandcastle links still work. The Sandcastles that have been shared in issues and forum threads and an unbelievably valuable resource, and whatever the problem is here, it should be fixed.

But… for me, the first link in that issue works. And I don’t know what could cause that TypeError. So it might be necessary to zoom into that, and analyze what could be the difference that causes this to appear on your system. Could you share the full stack trace? Maybe that already helps to narrow it down.

Does running the (new) sandcastle locally work for you? (You might stumble over new Cesium Sandcastle · Issue #12951 · CesiumGS/cesium · GitHub , but maybe it already works).

@jjspace Maybe this should be tracked in an issue, after gathering the relevant information.

1 Like

Good to know!
Tomorrow I will try the sandcastle locally.

But some more info I can already give you: The issue happens in Firefox (current verion 143.0.4, my OS is Windows 11). In Chrome, it works well! So I got a workaround for now.

This has been noticed by others and is tracked in Sandcastle code editor turns Firefox white · Issue #12953 · CesiumGS/cesium · GitHub

1 Like

Correct, as noted this is a firefox issue with the editor itself not the format of old urls or anything like that. I’m taking a look when I can and hopefully it’s a small fix. Feel free to follow that issue that Github issue @Marco13 linked for updates.
Also AFAIK this does not occur in any chromium based browsers as you noted so you should be able to temporarily switch to Chrome or Brave to use sandcastle. Sorry for the inconvenience

1 Like

Just to close the loop on this, the fix has now been deployed. Sandcastle should work again in Firefox! :tada:

1 Like