Search Issue Tracker
Fixed in 2018.1.X
Fixed in 2017.1.X, 2017.2.X, 2017.3.X
Votes
0
Found in
5.6.0f3
Issue ID
921560
Regression
Yes
Fatal Error "CheckDisalowAllocation" when using DontDestroyOnLoad WebCamTexture with Unity Remote camera
Steps to reproduce:
1. Download "Sandbox.zip" attached by the user
2. Connect an iOS/Android device with Unity Remote 5 opened in it
3. If your computer has a built-in webcam, change these lines in WebcamTextureHolder.cs:
26: yield return new WaitUntil (() => WebCamTexture.devices.Length > 1);
28: webCamTexture = new WebCamTexture(WebCamTexture.devices [1].name, 640, 480);
4. Enter play mode
5. Click the button in the scene
Result: Fatal error "CheckDisalowAllocation" happens and Unity freezes.
Expected result: no freeze/successful scene transition
Reproduced on: 5.6.1p3, 2017.1.0b9, 2017.2.0a3
Did not reproduce on: 5.5.4p1 (getting this error in Console instead: "Assertion failed on expression: 'state.object->ShouldIgnoreInGarbageDependencyTracking() == !addToNeedsProcessing'")
Devices used: LG Nexus 5X (Android 7.1.2), iPhone 5 (iOS 9.3.5)
Tested on: MacBook Pro (Retina, 15-inch, Mid 2015)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
Add comment