Skip to content

[Bug] Crash when restart camera #61

@touchline3d

Description

@touchline3d

Unity version

6000.0.40f

AVPro Live Camera edition

Trial

AVPro Live Camera Version

2.9.3

Which Windows version(s) are you using?

Windows 11

Which graphics API(s) are you using?

Direct3D 12

Hardware/Webcam model

Logitech C922 Pro

Video mode

Try different color mode, resolution, frame rate.

The issue

Run the CameraGrabDemo
Stop Device on the AVPro Live Camare
Start Device
Unity crash

Log output

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

0x000002C0646A0538 (AVProLiveCamera) UnityRenderEvent
0x000002C0646A03E6 (AVProLiveCamera) UnityRenderEvent
0x000002C0646A0B47 (AVProLiveCamera) UnityRenderEvent
0x000002C064655379 (AVProLiveCamera) GetFrameAsColor32
0x000002C067B826AB (Mono JIT Code) (wrapper managed-to-native) RenderHeads.Media.AVProLiveCamera.AVProLiveCameraPlugin:GetFrameAsColor32 (int,intptr,int,int)
0x000002C065E9CED3 (Mono JIT Code) [E:\Qt_Project\GoorooPlayer\Assets\AVProLiveCamera\Scripts\Components\AVProLiveCameraGrabber.cs:47] RenderHeads.Media.AVProLiveCamera.AVProLiveCameraGrabber:Update () 
0x000002C05EEF1138 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFD35BB68DE (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-runtime.c:3445] mono_jit_runtime_invoke 
0x00007FFD35AF8404 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3068] do_runtime_invoke 
0x00007FFD35AF84F0 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3115] mono_runtime_invoke 
0x00007FFD1591E0C4 (Unity) scripting_method_invoke
0x00007FFD158F5E43 (Unity) ScriptingInvocation::Invoke
0x00007FFD158E1054 (Unity) MonoBehaviour::CallMethodIfAvailable
0x00007FFD158E1182 (Unity) MonoBehaviour::CallUpdateMethod
0x00007FFD1530AB0C (Unity) BaseBehaviourManager::CommonUpdate<BehaviourManager>
0x00007FFD15312A8A (Unity) BehaviourManager::Update
0x00007FFD1559D9DD (Unity) `InitPlayerLoopCallbacks'::`2'::UpdateScriptRunBehaviourUpdateRegistrator::Forward
0x00007FFD1556BCC7 (Unity) ExecutePlayerLoop
0x00007FFD1556BE37 (Unity) ExecutePlayerLoop
0x00007FFD15570F6F (Unity) PlayerLoop
0x00007FFD1667417A (Unity) EditorPlayerLoop::Execute
0x00007FFD1668AB77 (Unity) PlayerLoopController::InternalUpdateScene
0x00007FFD1668C93D (Unity) PlayerLoopController::UpdateSceneIfNeededFromMainLoop
0x00007FFD166866E1 (Unity) Application::TickTimer
0x00007FFD16C7D8BA (Unity) MainMessageLoop
0x00007FFD16C83564 (Unity) UnityMain
0x00007FF68C5F2FBA (Unity) __scrt_common_main_seh
0x00007FFE5FC2E8D7 (KERNEL32) BaseThreadInitThunk
0x00007FFE619EC53C (ntdll) RtlUserThreadStart

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions