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?
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.