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)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
- Standalone Profiler stays in Dark Theme after switching Editor theme to Light on Ubuntu
- Inconsistency in capitalisation and styling across various nodes and block in VFX Graph
Add comment