Live Update and nested proxies (html5)

#1

I have a project with a structure like this:

[main collection]
[collection proxy] [game collection] – this collection is excluded and loaded with live update.
[collection proxy] [popup collection]

When game collection is loaded I send a “load” message to popup collection proxy which never gets it as I suppose (or just doesn’t load). If I run project without live update features everything works as expected.

Is it a bug or I do something wrong?

Test project included. You need to put generated live update files into archieve folder.
test.zip (5.2 KB)

0 Likes

#2

Ok. I’ve got a hypothesis. Are the nested proxies also excluded from the build even though they aren’t marked to be excluded?

0 Likes

#3

That was poorly formulated hypothesis. More like: list of missing resources of the top proxy does not include missing resources from the nested proxies.

0 Likes

#4

The hypothesis was true. You have to check nested proxies for missing resources and load them too. It doesn’t seem right though. In that case check button “Exclude” doesn’t change anything for the nested proxies.

0 Likes

#5

Hmm, yes, that seems a bit strange. So the lesson here is that if you use LiveUpdate you always need to call collectionproxy.missing_resources() first?

0 Likes

#6

For every proxy that is inside excluded collection, yes.

0 Likes