mob-sakai / ParticleEffectForUGUI

Render particle effect in UnityUI(uGUI). Maskable, sortable, and no extra Camera/RenderTexture/Canvas.
MIT License
4.41k stars 625 forks source link

If UIParticle's parents do not have Canvas, an exception is thrown in OnEnable #300

Closed mob-sakai closed 7 months ago

mob-sakai commented 7 months ago
NullReferenceException: Object reference not set to an instance of an object
Coffee.UIExtensions.UIParticleRenderer.GetWorldScale () (at Library/PackageCache/com.coffee.ui-particle@84ac11e6b7/Runtime/UIParticleRenderer.cs:522)
Coffee.UIExtensions.UIParticleRenderer.Set (Coffee.UIExtensions.UIParticle parent, UnityEngine.ParticleSystem ps, System.Boolean isTrail) (at Library/PackageCache/com.coffee.ui-particle@84ac11e6b7/Runtime/UIParticleRenderer.cs:252)
Coffee.UIExtensions.UIParticle.RefreshParticles (System.Collections.Generic.List`1[T] particles) (at Library/PackageCache/com.coffee.ui-particle@84ac11e6b7/Runtime/UIParticle.cs:496)
Coffee.UIExtensions.UIParticle.OnEnable () (at Library/PackageCache/com.coffee.ui-particle@84ac11e6b7/Runtime/UIParticle.cs:292)
github-actions[bot] commented 7 months ago

:tada: This issue has been resolved in version 4.6.3 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

github-actions[bot] commented 7 months ago

:tada: This issue has been resolved in version 4.6.3 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: