Font families are bound to the first URL input in a widget

Describe the bug:

A font-family is tied to the first URL in a @font-face when the widget is saved. Changing the URL after this will have no effect.

How do you cause this bug?

  • Create a new widget
  • Type “TEXT” in the sign text property
  • Add div { font-family: Rye } to the css
  • Change the @font-family definition’s font-family to “Rye”
  • Save the widget
  • Change the src of the @font-face to src: url(;
  • Save the widget

Notice that the widget will not display the Rye font.

  • Change the font-family to “Rye2”. change the font-family used in the div styling to “Rye2”
  • Save the widget

Notice the font is now applied correctly.

  • As an extended problem, create a new widget, and set the font -family to Rye on the div
  • Notice the font actually changes to

Screenshots / video of bug:

Which platform: PC / Stadia

Which input: Controller / keyboard + mouse

Your Crayta username: Cereal

Game seen in (including “Hub” or “Editor for XYZ”): Editor

How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible): Every time

Time + date seen: September 28 2022

Version number (found in Help tab in Settings): 0.g3.9.128732

Hi @Cereal,

Thanks for the report, I’ve entered it in the system.