Search Issue Tracker

Fixed

Fixed in 6000.0.6f1, 7000.0.0a1

Votes

0

Found in

6000.0.0b15

Issue ID

UUM-71865

Regression

Yes

Crash on memcpy when using ScreenCapture.CaptureScreenshot with superSize set to zero

--

-

Reproduction steps:
1. Open the attached project "CrashRepro"
2. Open "Assets/Scenes/SampleScene.unity"
3. Set "Super Size" to 0 on NewMonoBehaviourScript on MainCamera GameObject
4. Enter the Play mode

Expected result: The Play mode starts
Actual result: Editor crashes

Reproducible with: 2023.3.0a9, 6000.0.0b15
Not reproducible with: 2021.3.38f1, 2022.3.18f1, 2023.3.0a8

Reproducible on: Windows 10
Not reproducible on: macOS 14.4.1 (Intel)

First few lines of stack trace:
{noformat}
0x00007FFA3D09B8C3 (Unity) memcpy
0x00007FFA3AB127B6 (Unity) GfxDeviceD3D11Base::CaptureScreenshot
0x00007FFA3C2FAE6F (Unity) GfxDeviceWorker::RunCommand
0x00007FFA3C3039AC (Unity) GfxDeviceWorker::RunExt{noformat}

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.