Search Issue Tracker

Duplicate

Votes

0

Found in

2017.4.0f1

2018.3.0a1

2018.4.0f1

2019.1.0a1

2019.2.0a1

2019.3.0a1

Issue ID

1158055

Regression

No

[UWP] UnityEngine.XR.WSA.WebCam.VideoCapture StopRecordingAsync triggers an exception

Steps to reproduce:
1. Download 1158055_repro.zip project
2. Switch platform to UWP and build project
3. Open VS solution and build player (x64, Local Machine, Debug)
4. Give the player access to Microphone and Camera
5. Wait 5 seconds

Results: VideoCapture StopRecordingAsync triggers an exception

Reproduced with: 2019.3.0a5, 2019.2.0b5, 2019.1.5f1, 2018.4.1f1, 2017.4.27f1

Stack trace:
>[External Code]
>GameAssembly.dll!VideoCapture_StopRecordingVideoToDisk_Internal_m2284362669(VideoCapture_t3191060632 * __this, __int64 ___videoCaptureObj0, OnStoppedRecordingVideoCallback_t2563676185 * ___onStoppedRecordingVideoCallback1, const MethodInfo * method) Line 14607
>GameAssembly.dll!VideoCapture_StopRecordingAsync_m3613074033(VideoCapture_t3191060632 * __this, OnStoppedRecordingVideoCallback_t2563676185 * ___onStoppedRecordingVideoCallback0, const MethodInfo * method) Line 15209
>GameAssembly.dll!VideoCaptureExample_Update_m3601766154(VideoCaptureExample_t328952548 * __this, const MethodInfo * method) Line 1590
>GameAssembly.dll!RuntimeInvoker_Void_t1185182177(void(*)() methodPointer, const MethodInfo * methodMetadata, void * obj, void * * args) Line 33922
>GameAssembly.dll!il2cpp::vm::Runtime::Invoke(const MethodInfo * method, void * obj, void * * params, Il2CppException * * exc) Line 461
>GameAssembly.dll!il2cpp_runtime_invoke(const MethodInfo * method, void * obj, void * * params, Il2CppException * * exc) Line 942
>[External Code]

  1. This is a duplicate of issue #1063768

    [UWP] [IL2CPP] File.Exists method returns false

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.