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

GetComponentInParent null error, UIParticle.cs #101

Closed
npicouet opened this issue Sep 25, 2020 · 2 comments
Closed

GetComponentInParent null error, UIParticle.cs #101

npicouet opened this issue Sep 25, 2020 · 2 comments
Assignees
Labels
bug Something isn't working released on @preview

Comments

@npicouet
Copy link

Got this issue after updating to latest preview version.
Unity 2019.4.3f1.

This error happens when I'm loading into a scene with Unity SceneManager.

NullReferenceException: Object reference not set to an instance of an object UnityEngine.Component.GetComponentInParent (System.Type t) (at /Users/builduser/buildslave/unity/build/Runtime/Export/Scripting/Component.bindings.cs:121) UnityEngine.Component.GetComponentInParent[T] () (at /Users/builduser/buildslave/unity/build/Runtime/Export/Scripting/Component.bindings.cs:126) Coffee.UIExtensions.UIParticle.InitializeIfNeeded () (at Library/PackageCache/com.coffee.ui-particle@bda77ab039/Scripts/UIParticle.cs:391) Coffee.UIExtensions.UIParticle.<UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize>b__53_0 () (at Library/PackageCache/com.coffee.ui-particle@bda77ab039/Scripts/UIParticle.cs:426) UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at /Users/builduser/buildslave/unity/build/Editor/Mono/EditorApplication.cs:322)

@mob-sakai
Copy link
Owner

@npicouet
Thank you for reporting.

@mob-sakai mob-sakai self-assigned this Sep 25, 2020
@mob-sakai mob-sakai added the bug Something isn't working label Sep 25, 2020
github-actions bot pushed a commit that referenced this issue Sep 27, 2020
# [3.0.0-preview.35](v3.0.0-preview.34...v3.0.0-preview.35) (2020-09-27)

### Bug Fixes

* an error happens during loading scene in editor ([ab9d9aa](ab9d9aa)), closes [#101](#101)
@github-actions
Copy link

🎉 This issue has been resolved in version 3.0.0-preview.35 🎉

The release is available on:

Your semantic-release bot 📦🚀

LionelPerrault added a commit to LionelPerrault/Unity-Particle that referenced this issue Jul 25, 2023
# [3.0.0-preview.35](mob-sakai/ParticleEffectForUGUI@v3.0.0-preview.34...v3.0.0-preview.35) (2020-09-27)

### Bug Fixes

* an error happens during loading scene in editor ([ab9d9aa](mob-sakai/ParticleEffectForUGUI@ab9d9aa)), closes [#101](mob-sakai/ParticleEffectForUGUI#101)
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 on @preview
Projects
None yet
Development

No branches or pull requests

2 participants