Touch no longer works on Android in Unity 5

I have tried both touch checking in Update and mouse events, and with Unity 5 neither events are fired.

The device is a Nexus 7 2012 running Lollipop for reference.

I fixed this problem by replacing the unity activities from the AndroidManifest.xml, for this one:

<activity android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:label="@string/app_name" android:launchMode="singleTask" android:screenOrientation="fullSensor" android:name="com.unity3d.player.UnityPlayerNativeActivity">
		<intent-filter>
			<action android:name="android.intent.action.MAIN" />
			<category android:name="android.intent.category.LAUNCHER" />
		</intent-filter>
		<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
	</activity>

Now it’s working to me with Amazon Ads and GameCircle. Try yourself with your plugins.

Original AndroidManifest.xml:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.amazon.unity.AmazonMobileAdsPlugin"
android:installLocation="preferExternal"
android:versionCode="1"
android:versionName="1.0" >

<supports-screens
    android:anyDensity="true"
    android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:xlargeScreens="true" />

<application
    android:debuggable="false"
    android:icon="@drawable/app_icon"
    android:label="@string/app_name" >
    <activity
        android:name="com.unity3d.player.UnityPlayerProxyActivity"
        android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
        android:label="@string/app_name"
        android:screenOrientation="sensor" >
    </activity>
    <activity
        android:name="com.unity3d.player.UnityPlayerActivity"
        android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
        android:label="@string/app_name"
        android:screenOrientation="sensor" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>

        <meta-data
            android:name="unityplayer.ForwardNativeEventsToDalvik"
            android:value="true" />
    </activity>
    <activity
        android:name="com.unity3d.player.UnityPlayerNativeActivity"
        android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
        android:label="@string/app_name"
        android:screenOrientation="sensor" >
    </activity>
    <activity
        android:name="com.unity3d.player.VideoPlayer"
        android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
        android:label="@string/app_name" >
    </activity>
    <activity
        android:name="com.amazon.device.ads.AdActivity"
        android:configChanges="keyboardHidden|orientation|screenSize" />
</application>

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<uses-sdk
    android:minSdkVersion="9"
    android:targetSdkVersion="19" />

<uses-feature android:name="android.hardware.touchscreen" />
<uses-feature
    android:name="android.hardware.touchscreen.multitouch"
    android:required="false" />
<uses-feature android:glEsVersion="0x00020000" />

Modified AndroidManifest.xml:

<?xml version="1.0" encoding="utf-8"?>
<manifest 
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.amazon.unity.AmazonMobileAdsPlugin"
android:installLocation="preferExternal"
android:versionCode="1"
android:versionName="1.0" >

<supports-screens
    android:anyDensity="true"
    android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:xlargeScreens="true" />

<application
    android:debuggable="false"
    android:icon="@drawable/app_icon"
    android:label="@string/app_name" >
  	<activity android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:label="@string/app_name" android:launchMode="singleTask" android:screenOrientation="fullSensor" android:name="com.unity3d.player.UnityPlayerNativeActivity">
		<intent-filter>
			<action android:name="android.intent.action.MAIN" />
			<category android:name="android.intent.category.LAUNCHER" />
		</intent-filter>
		<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
	</activity>
	<!--- Amazon Ads -->
	<activity android:name="com.amazon.device.ads.AdActivity" android:configChanges="keyboardHidden|orientation|screenSize"/>
    
</application>

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<uses-sdk
    android:minSdkVersion="9"
    android:targetSdkVersion="19" />

<uses-feature android:name="android.hardware.touchscreen" />
<uses-feature
    android:name="android.hardware.touchscreen.multitouch"
    android:required="false" />
<uses-feature android:glEsVersion="0x00020000" />

This is how i fixed it after hours and hours and hours of BULL****…

i have neatplug social plugins, admob and facebook, they have stuff to do with the android manifest.
I had to delete both plugins, all traces of them, then reimported the plugins and thankfully all errors went away and when i built to android the touches worked.

Touchscript was in no way involved…

I have Unity 5 5.0.1f and the problem still exists as someone claimed that the problem is fixed in 5.0.1.
Does anyone else has this kind of sh!tty problem?

I also converted my 4.6.+ project into 5.0.1 and the touch is not working on my Android phone!!!

I have the same problem but a little different, TouchPhase.Began is detected but TouchPhase.Ended or TouchPhase.Canceled is never called. Input.touches.Length doesn’t update the value when there is no touch on the screen, so is never 0, only updates when pressing my finger on the screen.
Bug report here:
http://fogbugz.unity3d.com/default.asp?692519_b7i8q6l9oapd8ral
5.0.1 still has the problem.

Is touch available on Unity Remote 4, using Unity version 5.1.0f3 ?