[Resolved] v2.2 - cocos2d:Failed loading resource: <filename>.ccbi

[Resolved] v2.2 - cocos2d:Failed loading resource: <filename>.ccbi
0.0 0


I just upgraded from Cocos2d-html5-v2.1.5 to the latest v2.2 and now my .ccbi files wont load…

Console output follows:

canvas: size=1146x644.625, ratio=0.5625, scale=1.1169284467713787
cocos2d:Failed loading resource: Assets/loadingLayer.ccbi
cocos2d:Failed loading resource: Assets/lobbyLayer.ccbi
add layer: id=lobbyLayer
TypeError: data is null runWeb/Libs/extensions/CCBReader/CCBReader.js:204

Please investigate.
Sebastian Scholle@Rightshift.


Hi Sebastian,

These message are mean that the browser can’t access resources: “Assets/loadingLayer.ccbi” and “Assets/lobbyLayer.ccbi” , please check the resources path and the preload list.

Thank you for your feedback.


I will investigate further, but it is strange because the project worked just fine with Cocos2d-html5-v2.1.5.


I used

python -m SimpleHTTPServer 8000

and it ran fine from the web service.