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

Not working for my project setup for android #54

Closed
umitpradhan opened this issue Oct 21, 2021 · 1 comment
Closed

Not working for my project setup for android #54

umitpradhan opened this issue Oct 21, 2021 · 1 comment

Comments

@umitpradhan
Copy link

I am getting this error whenever trying to increase the glow.

NullReferenceException: Object reference not set to an instance of an object
SpriteGlow.SpriteGlowMaterial.GetSharedFor (SpriteGlow.SpriteGlowEffect spriteGlow) (at Library/PackageCache/com.elringus.spriteglow@05442994ff/Runtime/SpriteGlowMaterial.cs:38)
SpriteGlow.SpriteGlowEffect.SetMaterialProperties () (at Library/PackageCache/com.elringus.spriteglow@05442994ff/Runtime/SpriteGlowEffect.cs:98)
SpriteGlow.SpriteGlowEffect.OnValidate () (at Library/PackageCache/com.elringus.spriteglow@05442994ff/Runtime/SpriteGlowEffect.cs:85)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

@elringus
Copy link
Owner

Maybe the game object to which the effect is applied is missing sprite renderer component or the sprite/texture?

@elringus elringus closed this as completed Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants