Sorry. I didnt explain it. My prefabs is a Sprite with Animations: Football player. It changes the spriteFrames. It has an script to control the movements and animatios. I create the football player using the code i mentioned before. In 1.4.2 works fine. In 1.5.0 it shows some football player like white boxes.
I have another prefabs that controls projectils. I create it like i mentioned before. But when i call a function (located in the prefabs’s script) to create an action it doesnt works and the console return an error: actions 1 and actions 2 are nullptr. In 1.4.2 it works fine.
Creating new Prefabs seems to solve the problem. May be it is an issue related to loading prefabs with sprites with multiple spriteframe animation. I created a new prefabs. Then I link these prefabs with old (1.4.2) animations (five) and scripts (one).
When I select Canvas all works fine. In the Simulator all works fine. Just in WebGL mode the bug appear (the white boxes replacing the football players).
You can see a list of error in the console. I am using Firefox (53.0.3 (32-bits)) to test the game. It could be an error of my game or could it be a cocos 1.5 error ?. It works fine in 1.4.2
Edit: I tried to reproduce the error using Goolge Chrome and I couldnt. It works perfect in this browser. Could it be a Web GL problem related to Firefox ?
Bugs (white boxes) seems to be related with “preview” in firefox but no after compiling the project and upload it to my server. After compiling and upload the project there are no whiteboxes in firefox.
Hi, I have the same problem with white boxes on Firefox, even running the compiled version on a server and refreshing with ctrl+f5 seems to trigger it even more.
I’ve read around that it should be related to a firefox bug:
Anyway I couldn’t find a solution… did you find any? The only workaround I found is to use canvas insted of webgl, but I’d prefer to keep using it