Font resource not found when using live-update

I’m trying to get live-update working with a local zip file. The game runs but when I try to open my menu it crashes and gives me this error:

DEBUG:SCRIPT: missing resources: 0
WARNING:RESOURCE: Resource not found: /assets/menu_details_outlined.fontc
WARNING:RESOURCE: Unable to create resource: /menu/menu.guic: RESOURCE_NOT_FOUND
WARNING:RESOURCE: Unable to create resource: /_generated_ff3b09b53c5a1bb2.goc: RESOURCE_NOT_FOUND
ERROR:GAMEOBJECT: Could not instantiate game object from prototype /_generated_ff3b09b53c5a1bb2.goc.
WARNING:RESOURCE: Unable to create resource: /menu/menu.collectionc: FORMAT_ERROR
ERROR:GAMESYS: The collection /menu/menu.collectionc could not be loaded.

I’m not sure what I’m doing wrong here. Is there something special you have to do to make it load font resources?

No there’s nothing special with fonts. Does live update work without the font resource among the excluded content?

It works for the collections which don’t use the font. Is there something I need to do to tell an excluded resource that it needs to load the font when it loads?

I figured out what the problem was. I was creating game objects that used label components that referenced Materials from “builtins”. I’m assuming what happened is that things from “builtins” aren’t working in the bundle process in the same way that other resources do.

My solution was to find everywhere that was referencing a font or material from builtins and copy it to a different folder and reference that version instead.

1 Like

Hmm, this sounds like a bug to me. @JCash ?

Yes, this seems strange.
I’m pretty sure its worked before.

What materials/fonts did you reference from builtins?
Were they only referenced by the excluded collections?

Sorry if I miss some but I think it was:

fonts/system_font.font
fonts/system_font.material
fonts/vera_mo_bd.ttf
materials/sprite.material

2 Likes