Since the update yesterday my project is completely broken. Particles are not working anymore, keyboard events are not being fired anymore, … All without any error messages. How can I troubleshoot these issues? Is there a way to revert back to version 1.0?
happened to me when i tried the beta, all mouse and keyboard interaction was broken, check the files in your project’s folder and see which ones have been modified after the update, they are likely damaged (in my case i had to copy a lot from an older version of my project and reinsert the parts i’d added since).
cheers
I reinstalled cocos creator and created a new project, where I copy-pasted the controller logic on a new entity. Still not firing any input events though.
just updated, now i’ve got broken controls as well -.- any news on the problem?
cheers
@fliegenfuerst I ran the new examples project and to my surprise all the examples were working fine. In my case apparently the behavior of the EventManager.addEventListener was changed a little bit. In my original code the second parameter was just ‘this’ (as in the component itself) while in the example they passed the node (‘this.node’). Changing the parameter in my original project fixed the problem. The only thing that’s weird is that it gave no error messages whatsoever.
Now, another problem I am facing is that particles are not working anymore. Creating a new ParticleSystem node does provide an error:
Error: ENOENT: no such file or directory, open ''
at Error (native)
at Object.fs.openSync (fs.js:584:18)
at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:177:20)
at Object.fs.readFileSync (fs.js:431:33)
at Object.fs.readFileSync (ATOM_SHELL_ASAR.js:449:29)
at cc-particle-system-inspector.Editor.polymerElement._onCustomChanged (app://editor/page/inspector/particle-system/particle-system.js:1:476)
at editor-checkbox.handler (app://bower_components/polymer/polymer.html:471:17)
However, I haven’t got around to starting to examine this one.
that solved part of the problem for the controls, thank you!
also appearantly the ‘theMapLoaded:’ method of the tiledmap component was replaced with ‘start:’
cheers
I’ve encountered another problem, not sure if it’s just local but when i built the project for web-desktop, I got this weird window (video hosted on google drive):
replacing the index file with one created by 1.0.3 build function fixed that though.
cheers
It’s odd that these changes in the API are not mentioned anywhere or that there are no error messages provided :/.
is this with v1.1.0?
can you post the Properties view of your particle component?
Yes it was. I’m not getting the error anymore. To be honest the particle system stuff acts very weird at times, but no specific bug I can point to as it’s behavior is so inconsistent. I’ll keep an eye on it and report any possible bugs whenever I can.