# 2D Outline \[RELEASED\]

**URL:** <https://discussions.unity.com/t/2d-outline-released/647247>\
**Category:** Community Showcases\
**Tags:** Asset-Store-Assets\
**Created:** [November 28, 2016, 7:34pm UTC](https://discussions.unity.com/t/2d-outline-released/647247 "2016-11-28T19:34:41Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![dude4004](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/dude4004/32/164453_2.png) [@dude4004](https://discussions.unity.com/u/dude4004)\
**Post date:** [November 28, 2016, 7:34pm UTC](https://discussions.unity.com/t/2d-outline-released/647247/1 "2016-11-28T19:34:41Z")

</div>

Hello there,

Ever wanted to add a simple outline to many sprites at once and have them all outlined as ONE sprite?  
This package is for you.

Easy solution to handle 2D Outline on sprite.  
[Demo](https://www.assetstore.unity3d.com/en/#!/content/74443) [Package Link](https://www.assetstore.unity3d.com/en/#!/content/74443)

---

<div class="post-metadata">

**Author:** ![dude4004](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/dude4004/32/164453_2.png) [@dude4004](https://discussions.unity.com/u/dude4004)\
**Post date:** [December 22, 2016, 2:46pm UTC](https://discussions.unity.com/t/2d-outline-released/647247/2 "2016-12-22T14:46:23Z")

</div>

It has been accepted recently.  
If you have any question or a request, post it here OR send a email to [volkov40@hotmail.com](mailto:volkov40@hotmail.com)

---

<div class="post-metadata">

**Author:** ![dude4004](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/dude4004/32/164453_2.png) [@dude4004](https://discussions.unity.com/u/dude4004)\
**Post date:** [January 5, 2017, 5:29pm UTC](https://discussions.unity.com/t/2d-outline-released/647247/3 "2017-01-05T17:29:07Z")

</div>

Just fixed a minor bugs with the latest build of Unity.  
Patch should be ready on unity store in a few days.

Best regards,

---

<div class="post-metadata">

**Author:** ![jonimikkola86](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jonimikkola86](https://discussions.unity.com/u/jonimikkola86)\
**Post date:** [February 16, 2017, 2:40am UTC](https://discussions.unity.com/t/2d-outline-released/647247/4 "2017-02-16T02:40:49Z")

</div>

Hello and thanks for the plugin!

I have just one short question, why does the outline show upside down? I post it here in case someone has similar problems.

It seems that if I move the character left or right, outline will follow but if I move it top or bottom, outline moves in opposite direction.

![2961491--219847--Screen Shot 2017-02-16 at 10.40.47 AM.png](https://europe1.discourse-cdn.com/unity/original/4X/c/e/6/ce698a4d0e6952ea887dcd96435e36d872d7c314.png)

Thanks in advance,  
-Joni

---

<div class="post-metadata">

**Author:** ![dude4004](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/dude4004/32/164453_2.png) [@dude4004](https://discussions.unity.com/u/dude4004)\
**Post date:** [February 16, 2017, 3:52pm UTC](https://discussions.unity.com/t/2d-outline-released/647247/5 "2017-02-16T15:52:36Z")

</div>

Thanks 😉  
Does it happen when you use the Play button OR when you build your project with the WebGL?

Best regards,

---

<div class="post-metadata">

**Author:** ![jonimikkola86](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jonimikkola86](https://discussions.unity.com/u/jonimikkola86)\
**Post date:** [February 17, 2017, 12:43am UTC](https://discussions.unity.com/t/2d-outline-released/647247/6 "2017-02-17T00:43:39Z")

</div>

Thanks for reply!

I opened a new 2d project with Unity version 5.5.1f1 and then imported Outline2D plugin and opened demo scene. I’m running Unity on OS X.

 ![2962765--219979--Screen Shot 2017-02-17 at 8.43.43 AM.png](https://europe1.discourse-cdn.com/unity/original/4X/d/3/e/d3ea765e9b339bac0f3eefd38afd102fd25520de.png)

-Joni

---

<div class="post-metadata">

**Author:** ![dude4004](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/dude4004/32/164453_2.png) [@dude4004](https://discussions.unity.com/u/dude4004)\
**Post date:** [February 17, 2017, 1:30pm UTC](https://discussions.unity.com/t/2d-outline-released/647247/7 "2017-02-17T13:30:58Z")

</div>

Oh,

Could you try this?  
Find the file Resources-\>Mats-\>OutlineShader, open it up.

then add this line

uv.y = 1 - uv.y;

It should do the trick.

---

<div class="post-metadata">

**Author:** ![jonimikkola86](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jonimikkola86](https://discussions.unity.com/u/jonimikkola86)\
**Post date:** [February 19, 2017, 2:50pm UTC](https://discussions.unity.com/t/2d-outline-released/647247/8 "2017-02-19T14:50:53Z")

</div>

> [@dude4004](#):
>
> Oh,
> 
> Could you try this?  
> Find the file Resources-\>Mats-\>OutlineShader, open it up.
> 
> then add this line
> 
> uv.y = 1 - uv.y;  
> ![](http://deadpixel.biz/Assets/2DOutline/pastedImage.png)
> 
> It should do the trick.

I already had that line in my script file. I then commented it out and it outlines seem to show up now nicely!  
Thanks!

---

<div class="post-metadata">

**Author:** ![ciapoide121](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/ciapoide121/32/442689_2.png) [@ciapoide121](https://discussions.unity.com/u/ciapoide121)\
**Post date:** [March 11, 2017, 4:22pm UTC](https://discussions.unity.com/t/2d-outline-released/647247/9 "2017-03-11T16:22:36Z")

</div>

Hi,

does the outline only work with GameObjects with SpriteRenderer component, or it also works with meshes such as Spine objects?

thanks !

---

<div class="post-metadata">

**Author:** ![a0100101](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@a0100101](https://discussions.unity.com/u/a0100101)\
**Post date:** [March 13, 2017, 9:52pm UTC](https://discussions.unity.com/t/2d-outline-released/647247/10 "2017-03-13T21:52:47Z")

</div>

Hi, is this shader mobile ready?

---

<div class="post-metadata">

**Author:** ![svkotelnikov](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@svkotelnikov](https://discussions.unity.com/u/svkotelnikov)\
**Post date:** [July 6, 2017, 11:33pm UTC](https://discussions.unity.com/t/2d-outline-released/647247/11 "2017-07-06T23:33:12Z")

</div>

Hi all! I have problem with apply this plugin to spine skeleton animation (picture attached), does someone have ideas how to fix this?

![3135620--237741--outline_problem.png](https://europe1.discourse-cdn.com/unity/original/4X/3/9/4/3942af01021575fdad0a01b5fd9f7171bfcca0e3.png)

---

<div class="post-metadata">

**Author:** ![dude4004](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/dude4004/32/164453_2.png) [@dude4004](https://discussions.unity.com/u/dude4004)\
**Post date:** [July 7, 2017, 2:05am UTC](https://discussions.unity.com/t/2d-outline-released/647247/12 "2017-07-07T02:05:31Z")

</div>

Is this a sprite or a mesh?

---

<div class="post-metadata">

**Author:** ![svkotelnikov](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@svkotelnikov](https://discussions.unity.com/u/svkotelnikov)\
**Post date:** [July 8, 2017, 2:23pm UTC](https://discussions.unity.com/t/2d-outline-released/647247/13 "2017-07-08T14:23:37Z")

</div>

> [@dude4004](#):
>
> Is this a sprite or a mesh?

This is a set of meshes. With different shaders of character I have the same result: some bones have a square outline and i don’t know why.

I use unity 5.6.0f3 and last spine version 3.6.37 ([http://esotericsoftware.com/](http://esotericsoftware.com/))

![3137246--237902--outline spine problem.gif](https://europe1.discourse-cdn.com/unity/original/4X/f/c/5/fc53cc952274e2c4b901acc7fe460c5a8b448537.gif)

---

<div class="post-metadata">

**Author:** ![dude4004](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/dude4004/32/164453_2.png) [@dude4004](https://discussions.unity.com/u/dude4004)\
**Post date:** [July 9, 2017, 2:31pm UTC](https://discussions.unity.com/t/2d-outline-released/647247/14 "2017-07-09T14:31:53Z")

</div>

> [@svkotelnikov](#):
>
> This is a set of meshes. With different shaders of character I have the same result: some bones have a square outline and i don’t know why.
> 
> I use unity 5.6.0f3 and last spine version 3.6.37 ([http://esotericsoftware.com/](http://esotericsoftware.com/))

I’m sorry but this package only work with SpriteRenderer.  
I could find a way to make it work with Mesh, but not at this moment

sorry

---

<div class="post-metadata">

**Author:** ![dude4004](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/dude4004/32/164453_2.png) [@dude4004](https://discussions.unity.com/u/dude4004)\
**Post date:** [July 17, 2017, 1:48pm UTC](https://discussions.unity.com/t/2d-outline-released/647247/15 "2017-07-17T13:48:54Z")

</div>

I just updated the Outline, now you will be able to choose to apply the Outline to 1x sprite OR 1x sprite and all it’s childs.

All you need to do is to use this new variable on the Outline script : OutlineAllChilds  
best regards,

---

<div class="post-metadata">

**Author:** ![Lightstriker2](https://avatars.discourse-cdn.com/v4/letter/l/9fc29f/32.png) [@Lightstriker2](https://discussions.unity.com/u/Lightstriker2)\
**Post date:** [August 2, 2017, 3:47am UTC](https://discussions.unity.com/t/2d-outline-released/647247/16 "2017-08-02T03:47:20Z")

</div>

I can’t get it to work. The demo scene works, and when I add a sword to my own scene it works. But it doesn’t work on my own sprites. My sprites were just PNGs. They also have a parent.

---

<div class="post-metadata">

**Author:** ![dude4004](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/dude4004/32/164453_2.png) [@dude4004](https://discussions.unity.com/u/dude4004)\
**Post date:** [August 2, 2017, 11:14am UTC](https://discussions.unity.com/t/2d-outline-released/647247/17 "2017-08-02T11:14:00Z")

</div>

Can you send me a little copy of a sample project so I can see it by myself to [volkov40@hotmail.com](mailto:volkov40@hotmail.com)?

I will gladly look at it and tell you what to do.

best regards,

---

<div class="post-metadata">

**Author:** ![Lightstriker2](https://avatars.discourse-cdn.com/v4/letter/l/9fc29f/32.png) [@Lightstriker2](https://discussions.unity.com/u/Lightstriker2)\
**Post date:** [August 4, 2017, 2:47am UTC](https://discussions.unity.com/t/2d-outline-released/647247/18 "2017-08-04T02:47:49Z")

</div>

> [@dude4004](#):
>
> Can you send me a little copy of a sample project so I can see it by myself to [volkov40@hotmail.com](mailto:volkov40@hotmail.com)?
> 
> I will gladly look at it and tell you what to do.
> 
> best regards,

I got it working now. Not sure what went wrong earlier. Thanks anyway.

---

<div class="post-metadata">

**Author:** ![dude4004](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/dude4004/32/164453_2.png) [@dude4004](https://discussions.unity.com/u/dude4004)\
**Post date:** [August 5, 2017, 11:52am UTC](https://discussions.unity.com/t/2d-outline-released/647247/19 "2017-08-05T11:52:09Z")

</div>

Your welcome 🙂

---

<div class="post-metadata">

**Author:** ![trilobit](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@trilobit](https://discussions.unity.com/u/trilobit)\
**Post date:** [August 9, 2017, 9:52am UTC](https://discussions.unity.com/t/2d-outline-released/647247/20 "2017-08-09T09:52:41Z")

</div>

Hi, Is there a way to make outlines work form UI images? They do not have Sprite Renderer component but Canvas Rendrer. When I try to add Outline script to UI Image not supported Renderer error happens.

[Next page](https://discussions.unity.com/t/2d-outline-released/647247.md?page=2)
