Search Issue Tracker
Fixed
Fixed in 2022.3.61f1, 6000.0.44f1, 6000.1.0b12, 6000.2.0a6, 7000.0.0a24
Votes
0
Found in
2022.3.58f1
6000.1.0b5
6000.2.0a2
7000.0.0a17
Issue ID
UUM-96061
Regression
No
Crash on MonoStringNewUTF16 when calling WebCamTexture.devices with more than 20 active webcams
How to reproduce:
1. Open the attached “IN-91406.zip” project
2. Open the “SampleScene”
3. Ensure over 20 webcam devices are available
4. Enter Play Mode
5. Observe the crash
Reproducible in: 2022.3.58f1, 6000.0.37f1, 6000.1.0b5, 6000.2.0a2
Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environments tested
First few lines of stacktrace:
{noformat}0x00007FFD1C19CBF9 (Unity) MonoStringNewUTF16
0x00007FFD1C1FCDC3 (Unity) scripting_string_new
0x00007FFD1C2D9D1E (Unity) PlatformWebCamTexture::GetDeviceNames
0x00007FFD1C86980F (Unity) WebCamTextureBindings::Internal_GetDevices
0x00007FFD1B592B32 (Unity) WebCamTexture_Get_Custom_PropDevices{noformat}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Add comment