Edge Detection Camera Script Not Working (Android)

Good afternoon, unity forum wizards!

I am currently working on a game for Android and would like to implement Edge Detection (Script) on the main camera alongside a UI camera. Whilst this works perfectly and looks gorgeous in the editor play window, when compiled and ran on an Android device (Android 5.1.1 Rooted) it shows buggy textures everywhere on the screen apart from the UI.

  • I am building to Android 4.1 and up.
  • Using forward rendering path.

*Auto Graphic API = True

Multithreaded Rendering = False

Static Batching = True;

Dynamic Batching = True;

GPU Skinning = False;

VR Support = False;*

As far as I understand Edge Detection (Script) should work on mobile devices as the documentation states: “This effect should run on all hardware that Unity supports.”

Examples below.

Editor Play Mode:

Android Build:

How would I go about fixing this?

Much Appreciated,


Figured out that this was due to none of my camera’s clearing the flags.

To anyone else experiencing this issue, simply have one of your cameras:
Clear Flags = Solid Color.

I will leave this here incase anyone else has this problem!