So I am trying to load a png from a server using cc.loader.load(url, progressCB, completionCB), the url’s ending point is /filename.png.
For some reason, the texture parameter of the completionCallback function is null, and I am not sure why.
When I am opening the url in a browser, I can see the picture, but for some reason it won’t load.
I am using Cocos Creator v1.10.2
spriteNode is a Node with a Sprite component on it.
You can see my code below.