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

Abnormal error #214

Closed
AnYueBoy opened this issue Jun 30, 2022 · 7 comments
Closed

Abnormal error #214

AnYueBoy opened this issue Jun 30, 2022 · 7 comments
Assignees
Labels
bug Something isn't working released

Comments

@AnYueBoy
Copy link

When I click prefabrication or drag prefabrication to the scene, an error will be reported.
UIParticle
UIParticleTest.zip

@AnYueBoy AnYueBoy added the bug Something isn't working label Jun 30, 2022
@mob-sakai
Copy link
Owner

Thank you for your reporting!

@mob-sakai
Copy link
Owner

If m_Particles contains null, this error occurs.

@AnYueBoy
Copy link
Author

AnYueBoy commented Jul 1, 2022

Emm, When I click the refresh button, the material list is updated to the correct status, but when I re-enter the prefabrication, the material list is empty again.

UIParticle

@AnYueBoy
Copy link
Author

AnYueBoy commented Jul 1, 2022

Emm,I deleted an empty uiparticlerenderer, and the prefabrication seems to be back to normal.

@AnYueBoy
Copy link
Author

AnYueBoy commented Jul 1, 2022

image

@mob-sakai
Copy link
Owner

OK, I am going to make three fixes.

  • m_Particles works correctly even if it contains null.
  • Refresh button works correctly in prefab edit mode
  • UIParticleRenderer is automatically regenerated when deleted manually

github-actions bot pushed a commit that referenced this issue Jul 1, 2022
## [4.1.4](4.1.3...4.1.4) (2022-07-01)

### Bug Fixes

* add `Enabled` toggle in overlay window ([f97e619](f97e619))
* if `m_Particles` contains null, an error will occur ([550d0c4](550d0c4)), closes [#214](#214)
* ParticleSystem reordering and refreshing in inspector does not work for prefab asset ([7eb4112](7eb4112))
* refresh button does not works in prefab edit mode ([c1538a8](c1538a8)), closes [#214](#214)
* when `UIParticlrRenderer` destroy manually, an error will occur ([a11d2d0](a11d2d0))
@github-actions
Copy link

github-actions bot commented Jul 1, 2022

🎉 This issue has been resolved in version 4.1.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

LionelPerrault added a commit to LionelPerrault/Unity-Particle that referenced this issue Jul 25, 2023
## [4.1.4](mob-sakai/ParticleEffectForUGUI@4.1.3...4.1.4) (2022-07-01)

### Bug Fixes

* add `Enabled` toggle in overlay window ([f97e619](mob-sakai/ParticleEffectForUGUI@f97e619))
* if `m_Particles` contains null, an error will occur ([550d0c4](mob-sakai/ParticleEffectForUGUI@550d0c4)), closes [#214](mob-sakai/ParticleEffectForUGUI#214)
* ParticleSystem reordering and refreshing in inspector does not work for prefab asset ([7eb4112](mob-sakai/ParticleEffectForUGUI@7eb4112))
* refresh button does not works in prefab edit mode ([c1538a8](mob-sakai/ParticleEffectForUGUI@c1538a8)), closes [#214](mob-sakai/ParticleEffectForUGUI#214)
* when `UIParticlrRenderer` destroy manually, an error will occur ([a11d2d0](mob-sakai/ParticleEffectForUGUI@a11d2d0))
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