- Home /
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,
VoidFletcher
Answer by VoidFletcher · Aug 29, 2016 at 05:32 PM
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!
Your answer
Follow this Question
Related Questions
How to prevent single frame render on boot? 0 Answers
MainCamera just showing Skybox, when switching to Android 0 Answers
MOBILE - FPS Camera Rotation HELP 0 Answers
Camera "Don't Clear" flag doesn't work on Android ? 1 Answer
No Camera Rendering when switching between cameras developing for Android 0 Answers