Skip to content

Invalid onDidLoadFromCCB call order #9

@MartinCote

Description

@MartinCote

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions