I have a problem!
I have a ScrollView with nested layouts, buttons, and other scrolls.
When I trying to delete from scene this ScrollView (verticalScroll->removeFromParentAndCleanup(true) time-to-time I have random crash inside renderer code or inside this fuction (void Node::visit(Renderer* renderer, const Mat4 &parentTransform, uint32_t parentFlags)) when it’s trying to iterate _children.
Even when deleting from the scene was successful and I try to create new ScrollView with nested objects it is not rendering on the scene anymore.
I am using cocos2d-x-3.17.1
Small Update: Deleting and regenerating starting on CallBack from an external library. I made code for testing what do the same by a button click and it works fine.