I have a scene with a CCBFile. I've noticed that sometimes, but not every time, the main scene onDidLoadFromCCB function is called before the one from the inner CCBFile, which causes some issues (such that the controller property isn't yet set on the inner CCBFile).
After a bit of investigation, the problem seems to be caused by CCBReader, which stores the animation managers in a dictionary with pointer values as keys.
When the BuilderReader load function goes through the nodesWithAnimationManagers, the order is then undefined.
I have a scene with a CCBFile. I've noticed that sometimes, but not every time, the main scene
onDidLoadFromCCBfunction is called before the one from the inner CCBFile, which causes some issues (such that the controller property isn't yet set on the inner CCBFile).After a bit of investigation, the problem seems to be caused by CCBReader, which stores the animation managers in a dictionary with pointer values as keys.
When the BuilderReader
loadfunction goes through thenodesWithAnimationManagers, the order is then undefined.