We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 749d58a commit baa0fe8Copy full SHA for baa0fe8
cocos2d-ui/CCBReader/CCBReader.m
@@ -690,7 +690,9 @@ - (void) readPropertyForNode:(CCNode*) node parent:(CCNode*)parent isExtraProp:(
690
// Load sub file
691
NSString* path = [[CCFileUtils sharedFileUtils] fullPathForFilename:ccbFileName];
692
NSData* d = [NSData dataWithContentsOfFile:path];
693
-
+
694
+ NSAssert(d,@"Failed to find ccb file: %@",ccbFileName);
695
696
CCBReader* reader = [[CCBReader alloc] init];
697
reader.animationManager.rootContainerSize = parent.contentSize;
698
0 commit comments