Search Issue Tracker
Fixed in 3.0.0-pre.1
Votes
0
Found in [Package]
2.5.2
Issue ID
1310542
Regression
No
[Unity Recorder] Multiple exceptions are thrown if height/ width of output resolution for Image Sequence recorder is zero
Multiple exceptions are thrown if height/ width of output resolution for Image Sequence recorder is zero. Refer the attached video
Steps to reproduce:
1) Create a new project
2) Window > Package Manager > Install Unity Recorder
3) Add Recorder Image Sequence
4) Capture > Output Resolution > Custom > Width = 0
5) Start recording
Actual result: Multiple exceptions are thrown in console as width of output resolution is zero
Expected result: No exceptions should be thrown in console
Occurring in: 2021.2.0a3, 2021.1.0b5, 2021.1.0a1, 2020.2.2f1, 2020.1.13f1, 2019.4.9f1
Environment: Both Windows and Mac
Stack trace:
1) Assertion failed on expression: 'std::abs(det) > FLT_MIN'
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
2) RenderTexture.Create failed: width & height must be larger than 0
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
3) InvalidOperationException: Cannot access the data as it is not available
UnityEngine.Rendering.AsyncGPUReadbackRequest.GetData[T] (System.Int32 layer) (at <4a33faade1cf4ef1b3e3a2c4a445e544>:0)
UnityEditor.Recorder.BaseTextureRecorder`1[T].WriteFrame (UnityEngine.Rendering.AsyncGPUReadbackRequest r) (at Library/PackageCache/com.unity.recorder@2.5.2/Editor/Sources/BaseTextureRecorder.cs:113)
UnityEditor.Recorder.BaseTextureRecorder`1[T].ReadbackDone (UnityEngine.Rendering.AsyncGPUReadbackRequest r) (at Library/PackageCache/com.unity.recorder@2.5.2/Editor/Sources/BaseTextureRecorder.cs:79)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Add comment