cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

When dynamically adding particle nodes to the scene, the effect appears abnormal

Open zhefengzhang opened this issue 3 years ago • 0 comments

Cocos Creator version

3.5.2

System information

chrome web

Issue description

图片

If the particle resource is loaded after the node is added to the scene, the effect will be abnormal. 如果粒子资源在节点添加到场景之后才加载,则会出现效果异常。

图片

If the particle resource is loaded before the node is added to the scene, there is no problem. 如果粒子资源在节点添加到场景之前就加载,则没有问题。

The following is a screenshot of when an exception occurs 下图是出现异常时的截图

图片

Here is a screenshot when there is no abnormality 下面是无异常时的截图

图片

Relevant error log output

No response

Steps to reproduce

null

Minimal reproduction project

TestParticle.zip

zhefengzhang avatar Jul 15 '22 01:07 zhefengzhang