Unity 5.2 camera not recognised

I just upgraded to Unity 5.2 and now an Augmented Reality project (built with ARToolkit, http://artoolkit.org/) that relies on the camera (either laptop camera for testing in the editor or phone camera) does not work anymore. Instead I get a texture that indicates that the camera does not get any input.

Hope someone can tell me what goes wrong.

Thanks.

Got around this problem myself the other day, it’s a shader problem that it’s written inside the C# script ARController. (line 1283 if I remember correctly )

Use this shader instead:

Shader "VideoPlaneNoLight" 
{
  Properties 
  {
    _Color ("Main Color", Color) = (1,1,1,1)
    _MainTex ("Base (RGB)", 2D) = "white" { }
  }
  SubShader 
  {
    Pass 
    {
      Material 
      {
        Diffuse [_Color]
      }
      Lighting Off
      ZWrite Off
      Blend SrcAlpha OneMinusSrcAlpha
      SeparateSpecular Off
      SetTexture [_MainTex] 
      { 
        constantColor [_Color]
        Combine texture * constant, texture * constant
      }
    }
  }
}