eYs3D / eys3d_unity_release

Unity wrapper for eYs3D module. (release repository)
0 stars 0 forks source link

Unity Crash #1

Open kyuq opened 2 years ago

kyuq commented 2 years ago

Hello!

The Unity Release crashes Unity upon playing the scene in the Editor. I tried with Unity 2019.4.40f1 LTS and Unity 2021.3.2f1 LTS. Both with the same error behaviour. Unity 2021, however, atleast outputs some error messages, as posted below. Tested with the Depth Camera G53.

These are the error output from Unity:

Obtained 29 stack frames 0x00007ff8bcd653e4 (eys3d) libeYs3D::EYS3DSystem::initialize 0x00007ff8bcd63f6c (eys3d) libeYs3D::EYS3DSystem::getEYS3DSystem 0x00007ff8bcd486cd (eys3d) init_device 0x000001eed7a391c7 (Mono JIT Code) (wrapper managed-to-native) NativeMethods:init_device () 0x000001eed7a3910b (Mono JIT Code) [Eys3dCam.cs:122] eys3d.Eys3dCam:.ctor () 0x000001eed7a3846b (Mono JIT Code) [CameraPreview.cs:226] CameraPreview:Start () 0x000001eeda3921b8 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_voidthis (object,intptr,intptr,intptr) 0x00007ff86d09e0a4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke 0x00007ff86cfde744 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke 0x00007ff86cfde8dc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke 0x00007ff7ae34fd84 (Unity) scripting_method_invoke 0x00007ff7ae34a9a4 (Unity) ScriptingInvocation::Invoke 0x00007ff7ae31eec2 (Unity) MonoBehaviour::InvokeMethodOrCoroutineChecked 0x00007ff7ae31eff8 (Unity) MonoBehaviour::InvokeMethodOrCoroutineChecked 0x00007ff7ae319622 (Unity) MonoBehaviour::DelayedStartCall 0x00007ff7ade1a0f4 (Unity) DelayedCallManager::Update 0x00007ff7ae029319 (Unity) InitPlayerLoopCallbacks'::2'::EarlyUpdateScriptRunDelayedStartupFrameRegistrator::Forward 0x00007ff7ae010c4c (Unity) ExecutePlayerLoop 0x00007ff7ae010d23 (Unity) ExecutePlayerLoop 0x00007ff7ae016969 (Unity) PlayerLoop 0x00007ff7aef59238 (Unity) PlayerLoopController::UpdateScene 0x00007ff7aef44e44 (Unity) PlayerLoopController::EnterPlayMode 0x00007ff7aef542a7 (Unity) PlayerLoopController::SetIsPlaying 0x00007ff7aef576ad (Unity) Application::TickTimer 0x00007ff7af39f8aa (Unity) MainMessageLoop 0x00007ff7af3a417b (Unity) WinMain 0x00007ff7b06c582e (Unity) __scrt_common_main_seh 0x00007ff8c5097034 (KERNEL32) BaseThreadInitThunk 0x00007ff8c5e22651 (ntdll) RtlUserThreadStart

Steps to reproduce: 1) Connect Depth Camera G53 to PC 2) Create new 3D Unity project 3) Drag release.unitypackage into Unity Assets Window and import everything 4) Open either of the scenes for the camera 5) Press Play

System: OS: Windows 10 Enterprise Version: 20H2 OS Build: 19042.1826 Processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz 2.50 GHz Installed RAM: 8,00 GB System type: 64-bit operating system, x64-based processor GPU: Nvidia Geforce GTX 860M

System has nothing else notable installed beside Visual Studio 2019 Community and Unity. Normal eCapture Viewer for Windows works as intended on this PC.

kyuq commented 2 years ago

This is still an on going problem. I tried installed Windows SDK since diagram on the readme indicates the dependency. But it does not seem to change anything.