Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Particle not rendering correctly! #345

Closed
Atilgan0 opened this issue Dec 16, 2024 · 3 comments
Closed

Particle not rendering correctly! #345

Atilgan0 opened this issue Dec 16, 2024 · 3 comments
Assignees
Labels
bug Something isn't working released

Comments

@Atilgan0
Copy link

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
@Atilgan0 Atilgan0 added the bug Something isn't working label Dec 16, 2024
@mob-sakai
Copy link
Owner

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

@Atilgan0
Copy link
Author

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

@mob-sakai mob-sakai reopened this Dec 18, 2024
github-actions bot pushed a commit that referenced this issue Dec 19, 2024
## [4.10.4](v4.10.3...v4.10.4) (2024-12-19)

### Bug Fixes

* rendering issues when playing with opening a prefab stage ([95235a9](95235a9)), closes [#345](#345)
@mob-sakai
Copy link
Owner

🎉 This issue has been resolved in version 4.10.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this issue Dec 19, 2024
## [4.10.4](v4.10.3...v4.10.4) (2024-12-19)

### Bug Fixes

* rendering issues when playing with opening a prefab stage ([95235a9](95235a9)), closes [#345](#345)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

No branches or pull requests

2 participants