I build web-mobile in cocos creator v3.4.1 and sometime this error appear. After clear cache of browser, everything work fine against, but this bug is very annoying. Please check and help me!
I can ask engineering if they have thoughts.
Koei
February 18, 2022, 3:36am
3
You can try merging this pr:
cocos-creator:v3.4.2 ← Zhmz:node-destroy-event-exception-#11111
opened 07:09AM - 28 Jan 22 UTC
Re: cocos-creator/3d-tasks#11111
Changelog:
* 添加判空条件,避免销毁节点时当帧访问到节点的空数据
… <!-- Note: Makes sure these boxes are checked before submitting your PR - thank you!
- [ ] If your pull request has gone "stale", you should **rebase** your work on top of the latest version of the upstream branch.
- [ ] If your commit history is full of small, unimportant commits (such as "fix pep8" or "update tests"), **squash** your commits down to a few, or one, discreet changesets before submitting a pull request.
- To official teams:
- [ ] Check that your javascript is following our [style guide](https://github.com/cocos-creator/fireball/blob/dev/.github/CONTRIBUTING.md) and end files with a newline
- [ ] Document new code with comments in source code based on [API Docs](https://github.com/cocos-creator/fireball#api-docs)
- [ ] Make sure any runtime log information in `cc.log` , `cc.error` or `new Error('')` has been moved into `DebugInfos.js` with an ID, and use `cc.logID(id)` or `new Error(cc._getErrorID(id))` instead.
-->
This issue will be fixed in 3.4.2.
https://docs.cocos.com/creator/manual/en/advanced-topics/engine-customization.html?q=
1 Like
system
Closed
February 24, 2022, 3:55am
4
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.