"Temp Read Failed" For external Font

hey! i’m working on a UI module, and the UI my game follows is technically “external” (from the toolbox)

however, I have came across an error. whenever trying to import the font, it says

“Font family rbxasset://fonts/families/RubikMaze.json failed to load: Temp read failed.”

despite it being installed (afaik, it works with pre-made uis so I don’t see why it wouldn’t be here)

here is my line of code that controls it

lbl.FontFace = Font.new("rbxasset://fonts/families/RubikMaze.json", Enum.FontWeight.Bold, Enum.FontStyle.Normal)

also it’s important to mention that it doesn’t work on the client either.

help appreciated asap :saluting_face:

Issue resolved! If anybody else has this issue, what I did to fix it is instead of font.new I did font.fromId and set the marketplace id as the first arg

To get it go to Roblox Homepage>Create>Store>Fonts>click the font you want>Get id from URL