Log in or register to post comments

Unity crashes on their 2020.2 version when using Vuforia

December 16, 2020 - 9:11am #1

Hi there,

 

I have been using Unity 2020.2 in Apple Silicon and must say that everything is working great so far.

I encounter, though, an error related with Vuforia (9.6.3) in one of our last projects: Unity crashes when adding Vuforia to the project and hitting Unity Play button.

Workarounds

  1. As explained in this issue, the problem could happen if UnityHub or Unity Editor are not present in the Security & Privacy settings, but as my last comment in the same thread, I was able to manually enter both UnityHub and UnityEditor to the Camera apps.
  2. I created a simple script to just turn on the camera when hitting on the Play icon on the Unity Editor and it worked, so I can confirm that Unity is properly accessing to the laptop camera.
  3. Unity replied with this when I reported the bug: Judging by the Editor logs, it seems that the Editor crashes on "eyewearDeviceGetScreenOrientation", which is a part of Vuforia, indicating the issue is most likely on Vuforia's side.

Possible solution

Well, I guess that the hint provided by Unity is good enough for Vuforia to take a look and see if something can be found to solve the problem. I could not find documentation about "eyewearDeviceGetScreenOrientation", and it seems to be part of a DLL library. I also tried to find a reference in the settings or code and did not find anything.

If there is something else I can provide to properly solve this issue, please let me know!

 

Thanks,

Sergio

Unity crashes on their 2020.2 version when using Vuforia

January 26, 2021 - 6:09pm #8

Hello @mcotora,

Exactly, Unity 2018 LTS on a MacBook Pro with Apple Silicon chip. When hitting play Unity is not crashing, instead, the camera turns on and the flow is the expected. I can share some screenshots tomorrow. 

- - - 

Update: here some screenshots.

MacBook Pro specs:

 

Test Project - Unity version:

 

Unity modules installed:

Unity Editor with Vuforia Camera:

Unity crashes on their 2020.2 version when using Vuforia

January 26, 2021 - 12:53am #7

Hi @Zoix,

Just to confirm, you installed the old Unity 2018.4.31 version and it worked on the M1 mac?

Thank you.

Vuforia Engine Support

Unity crashes on their 2020.2 version when using Vuforia

January 25, 2021 - 4:40pm #6

I have a new update.

 

I installed Unity 2018.4.31f1 (LTS). This version is the one that has Vuforia already integrated, and it worked. So I am not sure if it is really something related with the editor or with Vuforia and the error that Unity already mentioned when I sent them the crash information. Here again:

Judging by the Editor logs, it seems that the Editor crashes on "eyewearDeviceGetScreenOrientation", which is a part of Vuforia, indicating the issue is most likely on Vuforia's side.

Hope that it helps to get more feedback from Vuforia.

Unity crashes on their 2020.2 version when using Vuforia

January 21, 2021 - 1:11pm #5

Hello,

Same problem for me, Unity 2020.2.1f1 crash when Vuforia 9.6.4 is started.

I tested Unity and Vuforia months ago with an M1 Mac mini and it worked as intended as I remember...

Now, I received my new MacBook Pro M1 and experiencing the issue.

Really annoying since everything is working great and even better compared to my i9 iMac.

Any News ?

Thanks ! :)

Nicolas

Unity crashes on their 2020.2 version when using Vuforia

January 13, 2021 - 7:43am #4

Hello mcotora.

Thanks for your answer, it makes sense. Unity says that a fully supported version for the Editor is not expected before mid 2021. 

I guess there is no other option different than to wait a little bit more.

 

Thanks!

Unity crashes on their 2020.2 version when using Vuforia

January 4, 2021 - 2:35am #3

Hi Zoix,

My understanding is that Unity 2020.2 only supports M1 with the Unity Player and not yet with the Editor.

I can confirm that we are also looking into it but as a prerequisite, as Vuforia Engine is a package that runs on Unity, first we need Unity to fully support Macs with M1 chips.

If you have any other questions or concerns please let me know.

Thank you.

Vuforia Engine Support

Unity crashes on their 2020.2 version when using Vuforia

December 20, 2020 - 3:43pm #2

Hi again,

 

This is to confirm that the problem persists in the last release of the Vuforia SDK: 9.6.4.

I must say that I feel disappointed with the lack of answers in this thread. If there is any information I can provide to find a solution, please let me know.

Log in or register to post comments