I’m trying to implement Live Update. This is my first time doing it, so I’m not sure if the issue is on my end or not.
Using Editor
When I try to bundle using Live Update from the Editor, I get the following error:
As far as I can tell, there is nothing special about this vp. I searched on GitHub issues and couldn’t find anything. This shader attached to excluded collection as go.
According to the documentation, there should be a game.graph.json
file in build/default/game.graph.json
. But it is not in build/default
or build/default_bundle
.
My Live Update settings:
[liveupdate]
mode = Zip
save-zip-in-bundle-folder = 1
zip-filename = platformer
Also, the Live Update settings screenshot is a bit outdated. We have now Zip and Manifest sections.
Using Bob
I try to build with bob using --liveupdate Yes
. This time game.graph.json
is generated in build/default
but:
- Lots of hexDigest are null including background.vp
{
"path" : "/components/materials/background.vp",
"hexDigest" : null,
"children" : [ ]
}, {
"path" : "/components/materials/background.fp",
"hexDigest" : null,
"children" : [ ]
},
- It doesn’t create a zip file at all, it just bundles everything, including the collection that should have been excluded.
bob:
java -jar bob.jar --archive --platform wasm-web resolve distclean build bundle \
--bundle-output ./bundle \
--build-server https://build-stage.defold.com \
--settings ./mobile_release.project \
--variant release \
--liveupdate Yes \
--root ../