Quantcast
Channel: cocos2d-x - Cocos Forums
Viewing all articles
Browse latest Browse all 2748

Random crash on removeFromParentAndCleanup

$
0
0

@vdoom wrote:

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):wink: 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

Please Help!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 2748

Trending Articles