Search Unity

Android AMR64 is not working: the input.touches

Discussion in 'Android' started by Hakari_vive, Jun 26, 2019.

  1. Hakari_vive

    Hakari_vive

    Joined:
    May 7, 2018
    Posts:
    11
    August 1st is the date when Android / Google play, ask you to upload your ABB (android bundle) to 64.

    I could build it (unity 2019.1.8) but my game stopped working, it doesn't detect properly the input.touches.

    I changed from:

    Mono -> 32-bit ARM

    TO:

    IL2CPP -> 64-bit ARM

    And the touches stopped working, if I create the APK on mono->32, the touches are working as intended.

    I have tried the options in the Active Input Handling: (https://docs.unity3d.com/Manual/class-PlayerSettingsAndroid.html)

    - Input Manager
    - Input System (Preview)
    - Both

    the result is the same: It works on 32, it doesn't works on 64

    What AM I missing? how can I solve it?

    Please help me
     

    Attached Files:

  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    1,916
    Could you copy paste logcat ?
     
  3. Hakari_vive

    Hakari_vive

    Joined:
    May 7, 2018
    Posts:
    11
    what is that? :)
     
  4. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    1,916
  5. Hakari_vive

    Hakari_vive

    Joined:
    May 7, 2018
    Posts:
    11
    Amazing tool, thank you.

    ------------------------------------------------------------------
    The beginning:
    ------------------------------------------------------------------
    0001/01/01 00:00:00.000 -1 -1 Info : --------- beginning of main
    2019/06/26 14:08:25.901 28088 28088 Error Zygote: isWhitelistProcess - Process is Whitelisted
    0001/01/01 00:00:00.000 -1 -1 Info : --------- beginning of system
    2019/06/26 14:08:25.902 28088 28088 Error libpersona: scanKnoxPersonas
    2019/06/26 14:08:25.902 28088 28088 Error libpersona: Couldn't open the File - /data/system/users/0/personalist.xml - No such file or directory
    2019/06/26 14:08:25.905 28088 28088 Warn SELinux: SELinux selinux_android_compute_policy_index : Policy Index[2], Con:u:r:zygote:s0 RAM:SEPF_SM-G935F_8.0.0_0011, [-1 -1 -1 -1 0 1]
    2019/06/26 14:08:25.907 28088 28088 Info SELinux: SELinux: seapp_context_lookup: seinfo=untrusted, level=s0:c512,c768, pkgname=com.VrGamesDev.TitanOdysseyB
    2019/06/26 14:08:25.910 28088 28088 Info zygote: Late-enabling -Xcheck:jni
    2019/06/26 14:08:25.931 28088 28088 Debug TimaKeyStoreProvider: TimaKeyStore is not enabled: cannot add TimaSignature Service and generateKeyPair Service
    2019/06/26 14:08:25.932 28088 28088 Debug ActivityThread: Added TimaKeyStore provider
    ------------------------------------------------------------------



    ------------------------------------------------------------------
    The first errors:
    ------------------------------------------------------------------
    2019/06/26 14:08:33.940 28088 28173 Info System.out: (HTTPLog)-Static: isSBSettingEnabled false
    2019/06/26 14:08:33.941 28088 28173 Info System.out: (HTTPLog)-Static: isSBSettingEnabled false
    2019/06/26 14:08:37.520 28088 28249 Warn Unity: The referenced script on this Behaviour (Game Object 'Player') is missing!
    2019/06/26 14:08:37.520 28088 28249 Warn Unity:
    2019/06/26 14:08:37.520 28088 28249 Warn Unity: (Filename: ./Runtime/Mono/ManagedMonoBehaviourRef.cpp Line: 333)
    2019/06/26 14:08:37.520 28088 28249 Warn Unity:
    2019/06/26 14:08:37.521 28088 28249 Warn Unity: The referenced script on this Behaviour (Game Object 'Player') is missing!
    2019/06/26 14:08:37.521 28088 28249 Warn Unity:
    2019/06/26 14:08:37.521 28088 28249 Warn Unity: (Filename: ./Runtime/Mono/ManagedMonoBehaviourRef.cpp Line: 333)
    2019/06/26 14:08:37.521 28088 28249 Warn Unity:
    2019/06/26 14:08:37.524 28088 28249 Warn Unity: The referenced script on this Behaviour (Game Object 'TrackedRemote') is missing!
    2019/06/26 14:08:37.524 28088 28249 Warn Unity:
    2019/06/26 14:08:37.524 28088 28249 Warn Unity: (Filename: ./Runtime/Mono/ManagedMonoBehaviourRef.cpp Line: 333)
    2019/06/26 14:08:37.524 28088 28249 Warn Unity:
    2019/06/26 14:08:37.528 28088 28249 Warn Unity: The referenced script on this Behaviour (Game Object 'TrackedRemote') is missing!
    2019/06/26 14:08:37.528 28088 28249 Warn Unity:
    2019/06/26 14:08:37.528 28088 28249 Warn Unity: (Filename: ./Runtime/Mono/ManagedMonoBehaviourRef.cpp Line: 333)
    2019/06/26 14:08:37.528 28088 28249 Warn Unity:
    2019/06/26 14:08:37.538 28088 28212 Error Unity: -------- GLSL link error: The number of vertex shader storage blocks (1) is greater than the maximum number allowed (0).
    2019/06/26 14:08:37.538 28088 28212 Error Unity:
    2019/06/26 14:08:37.538 28088 28212 Error Unity:
    2019/06/26 14:08:37.538 28088 28212 Error Unity:
    2019/06/26 14:08:37.538 28088 28212 Error Unity:
    2019/06/26 14:08:37.538 28088 28212 Error Unity: (Filename: /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/opengles/ApiGLES.cpp Line: 685)
    2019/06/26 14:08:37.538 28088 28212 Error Unity:
    2019/06/26 14:08:37.964 28088 28108 Error Unity: Invalid Method Name or Parameters: Clear
    2019/06/26 14:08:37.964 28088 28108 Error Unity:
    2019/06/26 14:08:37.964 28088 28108 Error Unity: UnityEngine.Logger:Log(LogType, Object)
    2019/06/26 14:08:37.964 28088 28108 Error Unity: HutongGames.PlayMaker.Actions.CallMethod:DoMethodCall()
    2019/06/26 14:08:37.964 28088 28108 Error Unity: HutongGames.PlayMaker.Actions.CallMethod:OnEnter()
    2019/06/26 14:08:37.964 28088 28108 Error Unity: HutongGames.PlayMaker.FsmState:ActivateActions(Int32)
    2019/06/26 14:08:37.964 28088 28108 Error Unity: HutongGames.PlayMaker.FsmState:OnEnter()
    2019/06/26 14:08:37.964 28088 28108 Error Unity: HutongGames.PlayMaker.Fsm:UpdateStateChanges()
    2019/06/26 14:08:37.964 28088 28108 Error Unity: HutongGames.PlayMaker.Fsm:Start()
    2019/06/26 14:08:37.964 28088 28108 Error Unity: HutongGames.PlayMaker.Fsm:processEvent(FsmEvent, FsmEventData)
    2019/06/26 14:08:37.964 28088 28108 Error Unity: HutongGames.PlayMaker.Fsm:BroadcastEvent(FsmEvent, Boolean)
    2019/06/26 14:08:37.964 28088 28108 Error Unity: HutongGames.PlayMaker.Fsm:Event(FsmEventTarget, FsmEvent)
    2019/06/26 14:08:37.964 28088 28108 Error Unity: HutongGames.PlayMaker.Actions.SendEvent:OnEnter()
    2019/06/26 14:08:37.964 28088 28108 Error Unity: HutongGames.PlayMaker.FsmState:ActivateActions(Int32)
    2019/06/26 14:08:37.964 28088 28108 Error Unity: HutongGames.PlayMaker.FsmState:OnEnter()
    2019/06/26 14:08:37.964 28088 28108 Error Unity: HutongGames.PlayMaker.Fsm:UpdateStateChanges()
    2019/06/26 14:08:37.964 28088 28108 Error Unity: HutongGames.PlayMaker.Fsm:Event(FsmEventTarget, FsmEvent)
    2019/06/26 14:08:37.964 28088 28108 Error Unity: Beyonder.HAK_Localization:Init()
    2019/06/26 14:08:37.964 28088 28108 Error Unity: Beyonder.<OnEnable_IEnumerator>d__9:MoveNext()
    2019/06/26 14:08:37.964 28088 28108 Error Unity: UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
    2019/06/26 14:08:37.964 28088 28108 Error Unity:
    2019/06/26 14:08:37.964 28088 28108 Error Unity: (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 48)
    2019/06/26 14:08:37.964 28088 28108 Error Unity:
    2019/06/26 14:08:37.987 28088 28108 Info chatty: uid=10390(u0_a390) UnityMain identical 3 lines




    ------------------------------------------------------------------
    The actual error when using Input.touches
    ------------------------------------------------------------------
    2019/06/26 13:02:32.725 20324 20853 Info System.out: (HTTPLog)-Static: isSBSettingEnabled false
    2019/06/26 13:02:32.726 20324 20853 Info System.out: (HTTPLog)-Static: isSBSettingEnabled false
    2019/06/26 13:02:34.011 20324 20807 Info UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:69) :: AdPlan received with 1 campaigns and refreshDelay 0
    2019/06/26 13:02:34.177 20324 20331 Info zygote64: Do partial code cache collection, code=30KB, data=22KB
    2019/06/26 13:02:34.177 20324 20331 Info zygote64: After code cache collection, code=29KB, data=22KB
    2019/06/26 13:02:34.177 20324 20331 Info zygote64: Increasing code cache capacity to 128KB
    2019/06/26 13:03:11.001 20324 20324 Debug ViewRootImpl@50e2ac2[UnityPlayerActivity]: ViewPostIme pointer 0
    2019/06/26 13:03:12.421 20324 20324 Debug ViewRootImpl@50e2ac2[UnityPlayerActivity]: ViewPostIme pointer 1
    2019/06/26 13:03:13.369 20324 20324 Debug ViewRootImpl@50e2ac2[UnityPlayerActivity]: ViewPostIme pointer 0
    2019/06/26 13:03:15.003 20324 20324 Debug ViewRootImpl@50e2ac2[UnityPlayerActivity]: ViewPostIme pointer 1
    2019/06/26 13:03:25.667 20324 20324 Debug ViewRootImpl@50e2ac2[UnityPlayerActivity]: ViewPostIme pointer 0
    2019/06/26 13:03:27.589 20324 20324 Debug ViewRootImpl@50e2ac2[UnityPlayerActivity]: ViewPostIme pointer 1
    2019/06/26 13:03:27.689 20324 20356 Error Unity: NullReferenceException: Object reference not set to an instance of an object.
    2019/06/26 13:03:27.689 20324 20356 Error Unity: at HutongGames.PlayMaker.Actions.CallMethod.DoMethodCall () [0x00000] in <00000000000000000000000000000000>:0
    2019/06/26 13:03:27.689 20324 20356 Error Unity: at HutongGames.PlayMaker.Actions.CallMethod.OnEnter () [0x00000] in <00000000000000000000000000000000>:0
    2019/06/26 13:03:27.689 20324 20356 Error Unity: at HutongGames.PlayMaker.FsmState.ActivateActions (System.Int32 startIndex) [0x00000] in <00000000000000000000000000000000>:0
    2019/06/26 13:03:27.689 20324 20356 Error Unity: at HutongGames.PlayMaker.FsmState.OnEnter () [0x00000] in <00000000000000000000000000000000>:0
    2019/06/26 13:03:27.689 20324 20356 Error Unity: at HutongGames.PlayMaker.Fsm.UpdateStateChanges () [0x00000] in <00000000000000000000000000000000>:0
    2019/06/26 13:03:27.689 20324 20356 Error Unity: at HutongGames.PlayMaker.Fsm.Start () [0x00000] in <00000000000000000000000000000000>:0
    2019/06/26 13:03:27.689 20324 20356 Error Unity: at HutongGames.PlayMaker.Actions.ActivateGameObject.DoActivateGameObject () [0x00000] in <00000000000000000000000000000000>:0
    2019/06/26 13:03:27.689 20324 20356 Error Unity: at HutongGames.PlayMaker.Actions.ActivateGameObject.OnEnter () [0x00000] in <00000000000000000000000000000000>:0
    2019/06/26 13:03:27.689 20324 20356 Error Unity: at HutongGames.PlayMaker.FsmState.ActivateActions (Syst
    2019/06/26 13:03:27.694 20324 20380 Info System.out: (HTTPLog)-Static: isSBSettingEnabled false
     
    Last edited: Jun 26, 2019
  6. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    1,916
    Well there's a bunch of errors, like scripts not attached to gameobject, also it's not clear what causes NullReferenceException.

    You need to use debugger to investigate this.

    Alternatively, try creating empty project, showing basic Input.touches behavior and see if that works