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
- Render Graph Execution errors when using GPU occlusion culling with 'Opaque Objects' frame setting disabled on a Camera
- Animator window: “Delete” menu item not greyed out for Base Layer context menu
- Resetting “PC_RP Asset (Universal Render Pipeline Asset)” causes Game view to become black and throws Renderer and NullReference errors in the Console window
- [Mobile] Player Crash on scripting_invoke_profiler_begin when the built Player Scene has an empty UIDocument and is built on IL2CPP
- Unnecessary Warnings are logged when running Player with -batchmode -nographics
Resolution Note (fix version 2021.1):
Fixed in version 2021.2.0a1