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
- Sprite Masks affect Sprite Renderers outside their range when a Light2D is present with specific Target Sorting Layers selected
- URP Lens Flare is rendered in the wrong position when Render Graph Compatibility Mode is enabled and Render Scaling is not 0
- Editor crashes on DrvPresentBuffers when loading RenderDoc while using OpenGLES 3.0 or OpenGLES 2.0 Graphics API
- [Test Runner] Incorrect name under Window > Panel after project restart
- [iOS] Crash when using fallback fonts created at runtime
Add comment