ensure asset_manager is loaded first