Arvtesh / UnityFx.Outline

Screen-space outlines for Unity3d.
MIT License
1.28k stars 90 forks source link

Outlines only work in editor #16

Closed YahkubR closed 4 years ago

YahkubR commented 4 years ago

Hello, i'm experiencing this odd issue where the outline only appears in scene view and not game. In-game it goes pure white.

Any ideas what might be causing this?

Using :
Unity 2020.1.4f1 Toolkit 0.8.0 Toolkit URP 0.1.0

Arvtesh commented 4 years ago

Sorry for not answering earlier. I'll take a look at the issue as soon as I have time.

YahkubR commented 4 years ago

Not a problem. Appreciate you taking a look :)

On Wed, Sep 9, 2020, 3:32 PM Arvtesh notifications@github.com wrote:

Sorry for not answering earlier. I'll take a look at the issue as soon as I have time.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Arvtesh/UnityFx.Outline/issues/16#issuecomment-689771806, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMMFH6EOJDLN2GCU6I3OZ6DSE7J6PANCNFSM4RAN635Q .

Arvtesh commented 4 years ago

Hm, work for me on 2020.1.4. Which platform is it? Could you test it on the example scene of the UnityFx.Outline.URP (from the github)? Or you can give me a sample project to investigate further.

YahkubR commented 4 years ago

heres a basic empty URP project where I'm seeing the issue. http://www.mediafire.com/file/20h4arfuzz0rdzf/file

perhaps I'm just not configuring something right...

Arvtesh commented 4 years ago

The problem appears to be MSAA enabled in URP quality settings and Depth testing flag in outline settings.

YahkubR commented 4 years ago

Thanks! Just did a double check and the only thing causing it is the depth testing flag. Appreciate the assistance.