Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2018.4
2019.4.4f1
2020.2
Issue ID
1273253
Regression
No
WebcamTexture.devices field is not updated when disconnecting webcam on WebGL build
Reproduction steps:
1. Open the attached project ("case_1273253-WebCamTexture.zip")
2. Make a WebGL build and run it
3. Open browser's console
4. Inspect webcam device count printed in the console
5. Connect/disconnect a webcam device from the machine
Expected result: Device count changes to reflect the actual device count
Actual result: Device count remains the same
Reproducible with: 2018.4.27f1, 2019.4.9f1, 2020.1.4f1, 2020.2.0b1
Tested with: Chrome (85.0.4183.83), Firefox (80.0), Edge (85.0.564.44)
Note: The issue does not reproduce on Editor or Standalone (Windows10) builds
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on __pthread_kill when initializing Vuplex WebView while entering the Play Mode
- Crash on FindSurface when adding a custom Renderer Feature to a 2D Renderer Data Asset
- [Android] [Vulkan] [UI Toolkit] Application crashes when the device is rotated when it has UI Toolkit TextField on Vulkan devices
- Crash on DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate when opening a specific project
- Crash on memset_repstos when pressing a UI button while in Play Mode
Resolution Note (fix version 2021.1):
Fixed in version 2021.2.0a1