Open jtfrom9 opened 4 years ago
Even I am facing the same issue, with SDK v1.18
according to https://github.com/googlesamples/arcore-depth-lab Instant Preview is not enabled for Depth API yet. so 1.18 has another problems
This issue should be fixed in 1.19. Feel free to reopen this issue if you have any more problems.
@Gjohnson6 Do you mean the only thing that will be fixed in 1.19 is the point mentioned in https://github.com/googlesamples/arcore-depth-lab that instant preview is not enabled for the Depth API yet ? I'm hoping that the issue I first pointed out in 1.16 (same issue in 1.17) will be fixed. Instant Preview doesn't work at all on mac (except for 2019.3.0f6 and earlier).
The editor crashing when running Instant Preview on Mac is what will be fixed with 1.19, sorry for not being specific. The Depth API will still not be enabled when using Instant Preview.
@Gjohnson6 not fixed yet with 1.19. please reopen this issue. Error message is completely same with my first report. Please try to repro according to my step.
first messages on crash log are..
Process: Unity [33445] Path: /Applications/Unity/*/Unity.app/Contents/MacOS/Unity Identifier: com.unity3d.UnityEditor5.x Version: Unity version 2019.4.8f1 (2019.4.8f1) Code Type: X86-64 (Native) Parent Process: Unity Hub [69666] Responsible: Unity [33445] User ID: 502
Date/Time: 2020-09-01 11:14:35.594 +0900 OS Version: Mac OS X 10.14.6 (18G6020) Report Version: 12 Anonymous UUID: 788A264A-C4A1-C179-37FA-48B2C49BAA04
Sleep/Wake UUID: F9DC4923-82DC-4D75-B8AB-1820D3396DFC
Time Awake Since Boot: 1500000 seconds Time Since Wake: 330000 seconds
System Integrity Protection: enabled
Crashed Thread: 37 UnityGfxDeviceWorker
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information: -[MTLIGAccelCommandBuffer blitCommandEncoder]:380: failed assertion `Already have uncommitted encoder'
When I saw this, editor did not cash (but black screen). Has the use of instant preview changed? I don't think the Switch Platform was needed before. If so, I hope this page is updated
https://developers.google.com/ar/develop/unity/instant-preview
And crash case (Switch Platform to Android), I saw this for a second, then CRASH
The Instant Preview documentation does mention setting the build target to Android in the troubleshooting section, although it might be good if we moved it to the Using Instant Preview section: "In Unity's Build Settings, your build platform is set to Android and you have player settings enabled for ARCore. If not, see the Unity quickstart guide for configuration details."
As for the crash, I will have to look into this and see if I can reproduce it.
Hey, sorry for the long delay, I haven't been able to reproduce this issue with ARCore 1.19. Can you go to the Help menu in the Unity Editor and generate a bug report using the Capture ARCore Bug Report button and attach the file here? Thanks.
Let me make sure your environment. What version your mac is ?
And please provide whole project that works correctly if possible
I'm running macOS 10.15.6 and I'm using the sample scenes in the 1.19 SDK likeHelloAR to test.
arcore_unity_editor_bug_report_20200930_050911.txt @Gjohnson6 Sorry for late, attached.
SPECIFIC ISSUE ENCOUNTERED
Unity Editor crash when just start Instant Preview with latest Unity and 1.16.0.
VERSIONS USED
adb shell pm dump com.google.ar.core | findstr /i "packages: versionName"
On macOS, use:adb shell pm dump com.google.ar.core | egrep -i versionName\|packages:
adb shell getprop ro.build.fingerprint
: samsung/dreamqltezh/dreamqltechn:8.0.0/R16NW/G9500ZHU3CRG5:user/release-keysSTEPS TO REPRODUCE THE ISSUE
WORKAROUNDS (IF ANY)
No problem with 2019.3.0f6. After 2019.3.1 seems to have problems
ADDITIONAL COMMENTS
attached detailed crash log
crash.log Editor.log