Log in or register to post comments

Vuforia crash in Unity 2019.3.3f1

March 5, 2020 - 8:45am #1

Hello,

I've been struggling for 16 hours the past 2 days and I can't get my head around why Vuforia keeps crashing in the editor randomly.

The steps I do are as followed:

  • Make a new project in Unity 2019.3.3
  • Install Vuforia via Package Manager
  • Update Vuforia to 8.6.10 (currently newest)
  • Add License
  • Download database and implement
  • Delete Camera
  • Create AR Camera
  • Leave all settings on Default
  • Create new Image Target
  • Add sphere as child and move it a bit up
  • Press Play
  • Randomly between 1-15 times of pressing play it sometimes decides to crash

It was working when we were using Unity 2018.3.5, but we had to upgrade due to UIWebview being deprecated in iOs soon in April 2020.

I'm using:

  • Windows 10 Home (64 bit) - Version 1909
  • Unity 2019.3.3f1 (installed via Unity Hub)
  • Visual Studio 2019

My hardware specs are:

  • Intel i7-7700HQ @ 2.80Ghz
  • 16 GB DDR4 Ram
  • 256GB M2 SSD + 1TB HDD
  • Nvidia GeForce GTX 1070 8GB (NVIDIA GeForce GTX 1070 (GP104M) [ASUS])
  • NVIDIA Studio Driver 442.19 is installed

I tested this problem on another Desktop and the same problem occurs, I tried switching webcams.

After checking the crash logs, it says that it crashes on VuforiaWrapper.dll

I attached the crash logs, I'm really out of options. Thank you in advance!

AttachmentSize
Plain text icon error.txt119.53 KB
Plain text icon Editor.txt237.66 KB

Vuforia crash in Unity 2019.3.3f1

March 27, 2020 - 1:43am #16

Hi,

Thank you both for the info.

As soon as I have new info from the dev team, I will update the thread.

Vuforia Engine Support

Vuforia crash in Unity 2019.3.3f1

March 26, 2020 - 4:11pm #15

Hi Mcorota,

Yes, it also crashes with the new 9.0.12 version, using Unity 2019.3.3 at the VuforiaWrapper.dll again. Just making simple ImageTarget scans as well, first time Play after starting Editor seems to work, but it almost always crashes on the 2nd time pressing Play.

Vuforia crash in Unity 2019.3.3f1

March 26, 2020 - 7:03am #14

HI @mcotora

My unity version is 2019.3.2f , and the first time I met this problem was in vuforia 8.5.9,then I upgraded the version to 9.0.12,but there are still problems,random crash...

The main functions I use are "ImageTarget"

I try to identify the problem myself,Then I'm sure it's during initialization,Only when i don't execute " VuforiaRuntime.Instance.InitVuforia();",It can never break down...

And there's another thing that I'm sure "vuforiawrapper.dll" led to the crash,it from crash logs

I hope it can be solved as soon as possible. Now it has affected normal work

thanks

Vuforia crash in Unity 2019.3.3f1

March 26, 2020 - 2:40am #13

Hi @smann,

Could you please confirm on which version you are encountering the issue?

Thank you.

Vuforia Engine Support

Vuforia crash in Unity 2019.3.3f1

March 25, 2020 - 1:11pm #12

I am experiencing it as well. This is disappointing as it's killing my productivity.

Vuforia crash in Unity 2019.3.3f1

March 25, 2020 - 3:18am #11

Hi @rudolfwm and @cuiyh1993

It seems that with the new 9.0.12 version, the issue is not reproducible.

Could you please confirm that you are also encountering this issue with 9.0.12?

Thank you.

Vuforia Engine Support

Vuforia crash in Unity 2019.3.3f1

March 20, 2020 - 9:10pm #10

I have the same problem. It will crash randomly and lead to bad development. I want to know when I can fix it. Please do it as soon as possible,thanks thanks thanks

Vuforia crash in Unity 2019.3.3f1

March 18, 2020 - 7:12am #9

Hi,

We are in the process of releasing the new version, all information including release notes will be available shortly on our website.

Unfortunately the issue is not fixed in 9.0.12 but should come in the next release.

I will update the thread once I have new information.

Thank you.

Vuforia Engine Support

Vuforia crash in Unity 2019.3.3f1

March 18, 2020 - 6:32am #8

I also saw that Vuforia released a new version: 9.0.12, but I cannot find any changelog online or within the project after updating.

Hopefully it has been fixed in this version, I shall await your reply and test in the meantime.

Vuforia crash in Unity 2019.3.3f1

March 18, 2020 - 6:31am #7

I have nothing else running besides Windows Defender, but I added the following Exclusions just in case.

Vuforia crash in Unity 2019.3.3f1

March 12, 2020 - 6:29am #6

Hi @VladVlad1 & @rudolfwm

I was able to reproduce the issue and informed the dev team.

I have tried to reproduce on Windows and also on Mac this seems to be reproducible only on Windows.

As soon as I have new info, I will update the thread.

Thank you.

Vuforia Engine Support

Vuforia crash in Unity 2019.3.3f1

March 11, 2020 - 1:35am #5

Hi,

Do you have any antivirus running besides Windows Defender? If yes, could you please add Unity and Unity project as exceptions?

Thank you.

Vuforia Engine Support

Vuforia crash in Unity 2019.3.3f1

March 11, 2020 - 1:00am #4

Same error here, I just edit one string in my scripts - hit play and it crashes with like 50% chance. Logfile also contains VuforiaWrapper.dll violation error.

Vuforia crash in Unity 2019.3.3f1

March 6, 2020 - 1:52am #3

The crashes occur randomly, but always when I enter Playmode. Sometimes it works after pressing 5/10x play and then crashes, other times it crashes after restarting Unity and pressing play 2x. It's completely random, but always the VuforiaWrapper.dll.

Vuforia itself works, I have permissions on and the scans are working while working in the editor. But I can't have my colleagues get random crashes when we're in production.

Vuforia crash in Unity 2019.3.3f1

March 6, 2020 - 12:03am #2

Hi,

Thank you for the detailed post.

Does this happen always when you enter Playmode?

Could you please check Windows Settings/Privacy/Camera and set "Allow apps to access your camera" to "on?

Thank you.

Vuforia Engine Support

Log in or register to post comments