Log in or register to post comments

Vuforia crash in Unity 2019.3.3f1

March 5, 2020 - 8:45am #27

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 6, 2020 - 12:03am #26

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

Vuforia crash in Unity 2019.3.3f1

March 6, 2020 - 1:52am #25

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 11, 2020 - 1:00am #24

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 11, 2020 - 1:35am #23

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 12, 2020 - 6:29am #22

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 18, 2020 - 6:31am #21

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 18, 2020 - 6:32am #20

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 - 7:12am #19

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 20, 2020 - 9:10pm #18

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 25, 2020 - 3:18am #17

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 25, 2020 - 1:11pm #16

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

Vuforia crash in Unity 2019.3.3f1

March 26, 2020 - 2:40am #15

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 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 - 4:11pm #13

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 27, 2020 - 1:43am #12

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

April 6, 2020 - 9:29am #11

hi all....

Same issue here... trying tu update unity, vuforia... constantly freeze or crash !

Please PTC !! do something..... :-/

 

Unity 2019.3.7 and 2019.3.3

 vuforia 8.5 to 9.0...

 

Vuforia crash in Unity 2019.3.3f1

April 9, 2020 - 8:52pm #10

Same issue here: 

Unity 2019.3.1f1, Vuforia 9.0.12

Windows 10, Editor

As other users report, the first time hitting "Play" in the editor, all is well. 2nd, or if you're lucky, 3rd, and the editor crashes. 

 

Editor.log call stack: 

 

========== OUTPUTTING STACK TRACE ==================

0x00007FFFDD70D3E3 (VuforiaWrapper) nativeUnity_IsVuforiaVRDeviceReady

0x00007FFFDD70F28E (VuforiaWrapper) nativeUnity_IsVuforiaVRDeviceReady

0x00007FFFDD70F11A (VuforiaWrapper) nativeUnity_IsVuforiaVRDeviceReady

0x00007FFFDD6F30DF (VuforiaWrapper) setApplicationEnvironment

0x000002EFCA27758C (Mono JIT Code) (wrapper managed-to-native) Vuforia.VuforiaNativeWrapper:setApplicationEnvironment (string,int)

0x000002EFCA2773CB (Mono JIT Code) Vuforia.VuforiaNativeWrapper:SetApplicationEnvironment (string,int)

0x000002EFCA277192 (Mono JIT Code) Vuforia.VuforiaUnity:SetApplicationEnvironment ()

0x000002EFCA27619B (Mono JIT Code) Vuforia.VuforiaRuntime:InitVuforia ()

0x000002EFCA275EDB (Mono JIT Code) Vuforia.VuforiaRuntime:VuforiaInitialization ()

0x000002EFCEC02515 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)

0x00007FFFF27DCBB0 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\mini\mini-runtime.c:2809] mono_jit_runtime_invoke

0x00007FFFF2762122 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:2921] do_runtime_invoke

0x00007FFFF276B11F (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:2968] mono_runtime_invoke

0x00007FF67C47A21E (Unity) scripting_method_invoke

0x00007FF67C473F6D (Unity) ScriptingInvocation::Invoke

0x00007FF67BEFF07F (Unity) RuntimeInitializeOnLoadManager::ExecuteInitializeOnLoad

0x00007FF67BEFF1AC (Unity) RuntimeInitializeOnLoadManager::ExecuteInitializeOnLoad

0x00007FF67BF443DF (Unity) LoadSceneOperation::IntegrateMainThread

0x00007FF67BF47C09 (Unity) PreloadManager::UpdatePreloadingSingleStep

0x00007FF67BF48431 (Unity) PreloadManager::WaitForAllAsyncOperationsToComplete

0x00007FF67A89936E (Unity) EditorSceneManager::RestoreSceneBackups

0x00007FF67A30F234 (Unity) PlayerLoopController::EnterPlayMode

0x00007FF67A321824 (Unity) PlayerLoopController::SetIsPlaying

0x00007FF67A3245DF (Unity) Application::TickTimer

0x00007FF67AC67860 (Unity) MainMessageLoop

0x00007FF67AC715FA (Unity) WinMain

0x00007FF67DBF5762 (Unity) __scrt_common_main_seh

0x00007FF8AF9A7BD4 (KERNEL32) BaseThreadInitThunk

0x00007FF8B0B4CED1 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ==========

Vuforia crash in Unity 2019.3.3f1

April 9, 2020 - 11:44pm #9

Hi all,

The issue has been fixed and will be available in our next release, that should be around, end of April.

Thank you for your understanding.

Vuforia Engine Support

Vuforia crash in Unity 2019.3.3f1

April 10, 2020 - 5:45am #8

Great to hear! Thank you so much, could you tell us what the reason was why it was crashing?

Vuforia crash in Unity 2019.3.3f1

April 11, 2020 - 9:19am #7

Can Unity 2019.3.3f not crash with any earlier version of Vuforia ?

Vuforia crash in Unity 2019.3.3f1

April 14, 2020 - 2:38am #6

Hi @rudolfwm,

Unfortunately I do not have visibility on the issue itself.

@tnagaraju

The issue first originated with 8.6.10 so I do not expect earlier versions to "work" with 2019.3.3. However please feel to try.

Thank you for your understanding.

Vuforia Engine Support

 

Vuforia crash in Unity 2019.3.3f1

April 29, 2020 - 12:19am #5

Hi @mcotora,

How is the update coming along? Wouldn't it be at the end of April?

Vuforia crash in Unity 2019.3.3f1

April 30, 2020 - 2:54am #4

Please let me know when vuforia release its april fix. This problem need fix in mac version of unity.

Vuforia crash in Unity 2019.3.3f1

April 30, 2020 - 3:59am #3

Hi @rudolfwm,

Unfortunately the release was pushed beginning of May due to some late minutes bugfixes.

As soon as I have an exact date, I will update this thread.

@syedali1621: The issue here was only reproducible on windows. Please open a separate thread and elaborate on your issue on Mac.

Thank you for your understanding.

Vuforia Engine Support

Vuforia crash in Unity 2019.3.3f1

May 6, 2020 - 3:29am #2

Hi @rudolfwm,

We released today 9.1.7.

Thank you.

Vuforia Engine Support

Vuforia crash in Unity 2019.3.3f1

May 9, 2020 - 2:52pm #1

Hi, I have Unity 2019.3.0f6 with Vuforia 8.5.9 installed over Package Manager. I tried install upgrade to 9.1.7. and after that Unity/Vuforia is broken. If I tried open Vuforia Prefecences, Unity crased. Everytime.

I tried install over script, manually, tried everything what i found, but with no result :-/

Log in or register to post comments