You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there's no SpriteGlow in the scene already adding a SpriteGlow component form the script causes a NullReferenceException because SpriteGlowMaterial.OUTLINE_SHADER is null.
The text was updated successfully, but these errors were encountered:
Most likely the outline shader is not included to the build (it happens when none of the included assets reference SpriteGlow component directly). You can force-include the shader by assigning it to the "Always Included Shaders" in the Edit -> Project Settings -> Graphics.
If there's no SpriteGlow in the scene already adding a SpriteGlow component form the script causes a NullReferenceException because SpriteGlowMaterial.OUTLINE_SHADER is null.
The text was updated successfully, but these errors were encountered: