1
具体而言,错误显示为OpenGL error 0x0502 in -[CCES2Renderer resizeFromLayer:] 140
此错误仅出现在Android上,而不是iOS版本上。我发现导致此错误的代码行(禁用它们可以解决问题,但我需要按钮在我的游戏中)。这些从我的主场景中从onEnter
中调用。使用Apportable和CCButton时,Android上的openGL错误0x0502
CCButton *newUserButton = [[CCButton alloc] initWithTitle:@"New user"];
[self addChild:newUserButton];