Search Issue Tracker

Fixed

Fixed in 2020.3.44f1, 2021.3.17f1

Votes

0

Found in

2020.3.35f1

2021.3.17f1

Issue ID

UUM-9194

Regression

No

[Backport] Crash on ScreenCapture::CaptureScreenshotIntoRend when taking screenshot using CaptureScreenshotIntoRenderTexture in

--

-

How to reproduce:
1. Open the attached project from "1410831screen.zip"
2. Open Scene "SampleScene"
3. Enter Play Mode and press "T" on the keyboard

Reproducible with: 2019.4.36f1, 2020.3.31f1, 2021.2.16f1, 2022.1.0b12, 2022.2.0a8

First lines of stack traces:
0x00007ff79aba4ec2 (Unity) ScreenCapture::CaptureScreenshotIntoRenderTexture
0x00007ff7998d5265 (Unity) ScreenCapture_CUSTOM_CaptureScreenshotIntoRenderTexture
0x000001957bff250a (Mono JIT Code) (wrapper managed-to-native) UnityEngine.ScreenCapture:CaptureScreenshotIntoRenderTexture (UnityEngine.RenderTexture)
0x000001957bfefbc3 (Mono JIT Code) \[TakeScreenShot.cs:55] TakeScreenShot/<recordCapture>d__6:MoveNext ()
0x000001957bfef8b0 (Mono JIT Code) UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
0x000001957bfef9df (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_object_intptr (object,intptr,intptr,intptr)

0x00007FF7F246EBA7 (Unity) RenderTexture::GrabPixels
0x00007FF7F03613D2 (Unity) ScreenCapture::CaptureScreenshotIntoRenderTexture
0x00007FF7F0738571 (Unity) ScreenCapture_CUSTOM_CaptureScreenshotIntoRenderTexture
0x0000017556E058BE (Mono JIT Code) (wrapper managed-to-native) UnityEngine.ScreenCapture:CaptureScreenshotIntoRenderTexture (UnityEngine.RenderTexture)
0x0000017556E04B9B (Mono JIT Code) \[C:\\Users\\siaur\\Downloads\\My project\\Assets\\TakeScreenShot.cs:54] TakeScreenShot/<recordCapture>d__6:MoveNext ()
0x0000017556E04591 (Mono JIT Code) UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)

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.