Search Issue Tracker

Duplicate

Votes

0

Found in

Issue ID

1104924

Regression

No

[UWP] Player crash when closing webcam.

UWP player crashes when the user stops webcam.

Repro:
1. Download attached project
2. Build & Run UWP player
3. Press Esc then Space bar to quit the scene
4. Observe

Expected: Stopping webcam does not crash the UWP player.

Callstack:
> UnityPlayer.dll!GetGfxDevice() Line 143 C++
UnityPlayer.dll!WebCamTexture::Stop() Line 553 C++
UnityPlayer.dll!WebCamTexture::Cleanup() Line 376 C++
UnityPlayer.dll!WebCamTexture::ThreadedCleanup() Line 267 C++
UnityPlayer.dll!WebCamTexture::`scalar deleting destructor'(unsigned int) C++
UnityPlayer.dll!delete_object_internal_step2(Object * p) Line 949 C++
UnityPlayer.dll!BatchDeleteStep2Threaded(void * userData) Line 106 C++
UnityPlayer.dll!Thread::RunThreadWrapper(void * ptr) Line 90 C++
kernel32.dll!00007ffda9453034() Unknown
ntdll.dll!00007ffdab331471() Unknown

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.