Hi!
(not sure this is a bug, maybe it’s an expected issue but the behavior remains weird, so… you tell me)
In another post, I realized different camera behaviors depending on the context:
1/ Defold + “local” html5 version
2/ “live” html5 bundles
I thought I fixed the issue, but in the end, some unexpected behavior remains, so…
After a deeper investigation, I realized something super weird.
The game object ids are not the same in both contexts
The camera id in Defold and “local” html5 version:
=> “/camera_001” ok
But in “live” html5 bundle:
=> “XXXXXX (unknown)” wtf
I suppose that in 99% of situations it’s ok, but in my code I check if the “expected” camera_id is contained in the game object_id (for some reason)…
… and now I understand why it didn’t work.
In html5 bundles, the string is not contained because the game object id has a different format.
But only in html5 bundles.
So I’m wondering… Is this a known issue? Is this even an issue?
(in my case it is, but from Defold perspective maybe not)
Is it possible to get the correct object_id in “live” html5 builds?