I’m checking Live update functions. Following this example, I got liveupdate.game.dmanifest
file from new live-update bundle and served it at my server. When attempt to download and store it to the app, it printed “Failed to store manifest”. My question is that what could lead to store failure? What did I do wrong?
In case of it’s successfully stored, will it make the collectionproxy.missing_resources(...)
return missing resources for which scripts/resources I just modified ?
local function store_manifest_cb(self, status)
if status == liveupdate.LIVEUPATE_OK then
pprint("Successfully stored manifest. This manifest will be loaded instead of the bundled manifest the next time the engine starts.")
else
pprint("Failed to store manifest")
end
end
local function download_and_store_manifest(self)
http.request(MANIFEST_URL, "GET", function(self, id, response)
if response.status == 200 then
liveupdate.store_manifest(response.response, store_manifest_cb)
end
end)
end