Closed EyezLee closed 4 years ago
Can you go to the help menu in the Unity Editor and click the Capture ARCore Bug Report button and attach the file it generates here? I wasn't able to reproduce these errors on my machine but this will help figure out what's going on.
Can you go to the help menu in the Unity Editor and click the Capture ARCore Bug Report button and attach the file it generates here? I wasn't able to reproduce these errors on my machine but this will help figure out what's going on. @Gjohnson6 Here it is
arcore_unity_editor_bug_report_20200919_065523.txt
Thank you for the reply! I tested on another Msi laptop and got the exact same errors. I noticed that it's the same error if you just unplug your phone and run the HelloAR in unity editor with Instant Preview. So I think v1.19 somehow doesn't detect plugged android device. Because when tested with SDK 1.18.0, it at least installs instant preview 17 app on my phone.(But depth doesn't work with v1.18)
Same here, instant preview is broken. Unity 2019.4.10f1
EntryPointNotFoundException: ArCoreUnity_setArPrestoInitialized GoogleARCoreInternal.ARPrestoCallbackManager.Initialize () (at Assets/GoogleARCore/SDK/Scripts/Managers/ARPrestoCallbackManager.cs:218) GoogleARCoreInternal.ARPrestoCallbackManager.get_Instance () (at Assets/GoogleARCore/SDK/Scripts/Managers/ARPrestoCallbackManager.cs:101) GoogleARCoreInternal.ARCoreAndroidLifecycleManager.get_Instance () (at Assets/GoogleARCore/SDK/Scripts/Managers/ARCoreAndroidLifecycleManager.cs:96) GoogleARCoreInternal.LifecycleManager.get_Instance () (at Assets/GoogleARCore/SDK/Scripts/Managers/LifecycleManager.cs:38) GoogleARCore.ARCoreSession.Awake () (at Assets/GoogleARCore/SDK/Scripts/ARCoreSession.cs:92)
This is what I get when I am trying to get AR Core logs: EntryPointNotFoundException: InitializeInstantPreview GoogleARCoreInternal.InstantPreviewBugReport.WriteOsIndependentFields (System.IO.StreamWriter writer) (at Assets/GoogleARCore/SDK/InstantPreview/Scripts/Editor/InstantPreviewBugReport.cs:162) GoogleARCoreInternal.InstantPreviewBugReport.CaptureBugReport () (at Assets/GoogleARCore/SDK/InstantPreview/Scripts/Editor/InstantPreviewBugReport.cs:105)
Also, I just tried ARCore 1.18 and Instant Preview installed on the device. Same PC
Same here, instant preview is broken. Unity 2019.4.10f1
EntryPointNotFoundException: ArCoreUnity_setArPrestoInitialized GoogleARCoreInternal.ARPrestoCallbackManager.Initialize () (at Assets/GoogleARCore/SDK/Scripts/Managers/ARPrestoCallbackManager.cs:218) GoogleARCoreInternal.ARPrestoCallbackManager.get_Instance () (at Assets/GoogleARCore/SDK/Scripts/Managers/ARPrestoCallbackManager.cs:101) GoogleARCoreInternal.ARCoreAndroidLifecycleManager.get_Instance () (at Assets/GoogleARCore/SDK/Scripts/Managers/ARCoreAndroidLifecycleManager.cs:96) GoogleARCoreInternal.LifecycleManager.get_Instance () (at Assets/GoogleARCore/SDK/Scripts/Managers/LifecycleManager.cs:38) GoogleARCore.ARCoreSession.Awake () (at Assets/GoogleARCore/SDK/Scripts/ARCoreSession.cs:92)
This is what I get when I am trying to get AR Core logs: EntryPointNotFoundException: InitializeInstantPreview GoogleARCoreInternal.InstantPreviewBugReport.WriteOsIndependentFields (System.IO.StreamWriter writer) (at Assets/GoogleARCore/SDK/InstantPreview/Scripts/Editor/InstantPreviewBugReport.cs:162) GoogleARCoreInternal.InstantPreviewBugReport.CaptureBugReport () (at Assets/GoogleARCore/SDK/InstantPreview/Scripts/Editor/InstantPreviewBugReport.cs:105)
Also, I just tried ARCore 1.18 and Instant Preview installed on the device. Same PC
Yes same here 1.18 instant preview doesn't break that bad, it just doesn't support depth and lightEstimation (which is also not usable). But 1.19 doesn't work at all...
Hey all, this issue should be fixed in 1.20 once that is released. Feel free to reopen the bug if the issue persists.
Unity 2020.2 / Unity 2020.1.6, SDK v.1.19.0, Google pixel3 Instant Preview causes EntryPointNotFoundException: ArCoreUnity_setArPrestoInitialized and InitializeInstantPreview errors. Running in a clean project, Build And Run(Ctrl+B) succeeded with no issues, only instant preview has errors, and not working.
Error log: EntryPointNotFoundException: ArCoreUnity_setArPrestoInitialized at (wrapper managed-to-native) GoogleARCoreInternal.ARPrestoCallbackManager+ExternApi.ArCoreUnity_setArPrestoInitialized(GoogleARCoreInternal.ARPrestoCallbackManager/EarlyUpdateCallback) at GoogleARCoreInternal.ARPrestoCallbackManager.Initialize () [0x00019] in D:\Projects\FragmentFreeze\Assets\GoogleARCore\SDK\Scripts\Managers\ARPrestoCallbackManager.cs:218 at GoogleARCoreInternal.ARPrestoCallbackManager.get_Instance () [0x00029] in D:\Projects\FragmentFreeze\Assets\GoogleARCore\SDK\Scripts\Managers\ARPrestoCallbackManager.cs:101 at GoogleARCoreInternal.ARCoreAndroidLifecycleManager.get_Instance () [0x0001b] in D:\Projects\FragmentFreeze\Assets\GoogleARCore\SDK\Scripts\Managers\ARCoreAndroidLifecycleManager.cs:96 at GoogleARCoreInternal.LifecycleManager.get_Instance () [0x00007] in D:\Projects\FragmentFreeze\Assets\GoogleARCore\SDK\Scripts\Managers\LifecycleManager.cs:38 at GoogleARCore.ARCoreBackgroundRenderer.OnEnable () [0x00019] in D:\Projects\FragmentFreeze\Assets\GoogleARCore\SDK\Scripts\ARCoreBackgroundRenderer.cs:82
(Filename: Assets/GoogleARCore/SDK/Scripts/Managers/ARPrestoCallbackManager.cs Line: 218)
EntryPointNotFoundException: InitializeInstantPreview at (wrapper managed-to-native) GoogleARCoreInternal.InstantPreviewManager+NativeApi.InitializeInstantPreview(string,System.Text.StringBuilder,int) at GoogleARCoreInternal.InstantPreviewManager.StartServer (System.String adbPath, System.String& version) [0x00008] in D:\Projects\FragmentFreeze\Assets\GoogleARCore\SDK\InstantPreview\Scripts\InstantPreviewManager.cs:633 at GoogleARCoreInternal.InstantPreviewManager+d__17.MoveNext () [0x001ba] in D:\Projects\FragmentFreeze\Assets\GoogleARCore\SDK\InstantPreview\Scripts\InstantPreviewManager.cs:305
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <9584de3444b542abbb1ad4bb43a7137f>:0
UnityEngine.MonoBehaviour:StartCoroutineManaged2(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
GoogleARCoreInternal.ARCoreAndroidLifecycleManager:CreateSession(ARCoreSession) (at Assets\GoogleARCore\SDK\Scripts\Managers\ARCoreAndroidLifecycleManager.cs:144)
GoogleARCore.ARCoreSession:Awake() (at Assets\GoogleARCore\SDK\Scripts\ARCoreSession.cs:92)
(Filename: Assets/GoogleARCore/SDK/InstantPreview/Scripts/InstantPreviewManager.cs Line: 633)
Loaded scene 'Temp/__Backupscenes/0.backup' Deserialize: 3.076 ms Integration: 61.296 ms Integration of assets: 0.005 ms Thread Wait Time: 15.102 ms Total Operation Time: 79.479 ms NullReferenceException: Object reference not set to an instance of an object at GoogleARCore.ARCoreBackgroundRenderer.TextureTransform () [0x00000] in D:\Projects\FragmentFreeze\Assets\GoogleARCore\SDK\Scripts\ARCoreBackgroundRenderer.cs:226 at GoogleARCore.ARCoreBackgroundRenderer.UpdateShaderVariables () [0x00060] in D:\Projects\FragmentFreeze\Assets\GoogleARCore\SDK\Scripts\ARCoreBackgroundRenderer.cs:170 at GoogleARCore.ARCoreBackgroundRenderer.Update () [0x00018] in D:\Projects\FragmentFreeze\Assets\GoogleARCore\SDK\Scripts\ARCoreBackgroundRenderer.cs:123
(Filename: Assets/GoogleARCore/SDK/Scripts/ARCoreBackgroundRenderer.cs Line: 226)
EntryPointNotFoundException: UnityGotTouches at (wrapper managed-to-native) GoogleARCore.InstantPreviewInput+NativeApi.UnityGotTouches() at GoogleARCore.InstantPreviewInput.get_touches () [0x00000] in D:\Projects\FragmentFreeze\Assets\GoogleARCore\SDK\InstantPreview\Scripts\InstantPreviewInput.cs:62 at GoogleARCore.InstantPreviewInput.get_touchCount () [0x00000] in D:\Projects\FragmentFreeze\Assets\GoogleARCore\SDK\InstantPreview\Scripts\InstantPreviewInput.cs:77 at GoogleARCore.Examples.HelloAR.HelloARController.Update () [0x00022] in D:\Projects\FragmentFreeze\Assets\GoogleARCore\Examples\HelloAR\Scripts\HelloARController.cs:100
(Filename: Assets/GoogleARCore/SDK/InstantPreview/Scripts/InstantPreviewInput.cs Line: 62)
@fredsa @Gjohnson6