Search Issue Tracker
Fixed
Fixed in 2021.3.31f1, 2022.3.11f1, 2023.1.16f1, 2023.2.0b12, 2023.3.0a8, 2024.1.0a1
Votes
1
Found in
2021.3.7f1
2022.3.7f1
2023.1.8f1
Issue ID
UUM-45255
Regression
No
Freeze/Crash on DynamicHeapAllocator::Allocate when Webcam is used in the Editor and in another application at the same time
Reproduction steps:
1. Open the attached “WebCamRepro” project
2. Open the “badwebcam” Scene
3. Enter the Play Mode
4. Open another app that uses Webcam
Expected result: Editor continues to display Webcam Texture in the Play Mode
Actual result: Editor crashes
Reproducible with: 2021.3.29f1, 2022.3.7f1, 2023.1.8f1
Couldn’t test with: 2023.2.0b3 (“Attempting to upload graphics texture in invalid state.” error when entering the Play Mode)
Reproducible on: macOS 13.5 (M1 Max), macOS 13.4.1 (Intel)
Not reproducible on: No other environment tested
Notes:
2021.3.29f1 crashes after exiting the Play Mode
2022.3.7f1 freezes
Crash on Intel MacOS is inconsistent (only reproduces on some machines)
First few lines of the stack trace:
#0 0x000001071d5ee0 in block_locate_free
#1 0x000001050236b4 in DynamicHeapAllocator::Allocate(unsigned long, int)
#2 0x00000105026654 in MemoryManager::Allocate(unsigned long, unsigned long, MemLabelId const&, AllocateOptions, char const*, int)
#3 0x00000105025d4c in malloc_internal(unsigned long, unsigned long, MemLabelId const&, AllocateOptions, char const*, int)
#4 0x00000106ac2dec in core::hash_set<core::pair<ArtifactKey const, AssetDatabase::ArtifactID, false>,
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment