mob-sakai/ParticleEffectForUGUI

Particle not rendering correctly!

Closed this issue ยท 3 comments

Describe the bug
If a prefab containing ui particles is open before entering play mode, the particles are not rendered correctly when the game starts.

To Reproduce
Steps to reproduce the behavior:

  1. Open prefab containing ui particle
  2. Click play button
  3. play any ui particle in the scene
  4. See issue

Screenshots
Screenshot_2

Temp Solution
Exit prefab mode on play mode state changed to ExitingEditMode. It was written editor code for this.

Environment (please complete the following information):

  • Version 4.10.3
  • Platform: Editor(Windows), Android
  • Unity version: 2022.3.53f1

Thank you for your reporting!
Could you please attach a minimal project (included Assets, Packages and ProjectSettings directories) that reproduces the issue?
Of course, you don't need to include any secret assets from your project. Feel free to use free assets instead.

repos

There is some news.
I opened an empty project. I switched to Android platform. I tried to experience the problem here and noticed something like this. The problem occurs in the particle system that uses sprites in atlas. There is another particle in the scene that uses a normal sheet sprite. There is no problem with this. Also, we do not need to enter only the prefabs that have UIParticle in them, opening any prefab causes this problem. I zipped the project and added it below. I also added a video showing the problem.

Unity Version: 2022.3.53f1
Sprite Packer Mode: Sprite Atlas V2-Enabled
Platform: Android (windows pc)

I didin't change any other settings. All settings are in default.

TestProject.zip

๐ŸŽ‰ This issue has been resolved in version 4.10.4 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€