cocos-engine
cocos-engine copied to clipboard
Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games...
### Cocos Creator version 3.8.2 ### System information mac sonoma, chrome, ios 12, android ### Issue description 该方法的签名为 public readPixels (x?: number, y?: number, width?: number, height?: number, buffer?: Uint8Array):...
### Cocos Creator version 3.8.3 ### System information Window 10 ### Issue description why use white bg fill label ,is there any examples can confirm this problem?  ### Relevant...
### Use Case can see the three.js engine changes pr: https://github.com/mrdoob/three.js/pull/19752 And WeChat Mini games platform is also supporting this expansion ### Problem Description nothing ### Proposed Solution _No response_...
### Use Case 目前 cocos 中 如果要实现 node的排序 要基于 setSiblingIndex() 方法. 这个方法 每次交换 节点 都要 执行很多复杂的操作. 偶尔改变一两个节点的顺序 还能接受. 但是如果要大批量大范围的改动 就很低效率. ```ts public setSiblingIndex (index: number): void { if (!this._parent) {...
### Cocos Creator version 3.8.2 ### System information Windows10 ### Issue description 微信小程序下载的资源,目前是先到temp目录,然后调用fs.copyFile接口,拷贝一份到usr目录下。一个是浪费拷贝性能,一个是临时缓存会翻倍因为同一个资源有两份在。是否可以直接放到usr缓存目录下面更好?或者到temp后通过移动的方式到usr?  ### Relevant error log output _No response_ ### Steps to reproduce 微信小程序下载的资源,目前是先到temp目录,然后调用fs.copyFile接口,拷贝一份到usr目录下。一个是浪费拷贝性能,一个是临时缓存会翻倍因为同一个资源有两份在。是否可以直接放到usr缓存目录下面更好?或者到temp后通过移动的方式到usr? ### Minimal reproduction project...
### Cocos Creator version 3.8.3 ### System information iOS ### Issue description We are experiencing significant performance issues on iOS devices, with poor FPS and high battery consumption. Upon profiling,...
### Cocos Creator version 3.8.3 ### System information all ### Issue description 无论 node.active 是否为 true , node.invalidateChildren() 总是会被执行, 导致性能出现问题. node.acitve 或者 _activeInHierarchy = false 时, 对node 进行一些处理时, 还是会 调用...
### Cocos Creator version 3.7.2/3.8.3 ### System information windows 谷歌浏览器 ### Issue description 问题描述:使用一个AudioSource一直循环play一个音效 loop为false 发现内部有一个事件数组的长度一直在加 没有清。 代码实现: ``` this.schedule(() => { this.audioSourceCom.loop = false this.audioSourceCom.play() },1) ``` 使用play方法播放音效的时候会进入这里 在这个AudioSource上注册一个一次性事件...
### Cocos Creator version 3.8.4 ### System information android, iOS ### Issue description 错误信息如下: 线上版本用户设备上出现的错误. 开发环境无法重现 3.8.3 时期未出现过 3.8.4 才出现的 ### Relevant error log output _No response_ ### Steps to...