Search Issue Tracker

Fixed in Unity 2017.3.0f3



Found in


Issue ID




[Regression] Crash in GfxDevice::SetRenderTargets caused by GrabPass{} in shader on mobile platform




Priority: 1Fix for next beta/patch release build


Severity: 1Crash or major loss of functionality

1. Open QA stripped project
2. Open scene
3. Switch to android or iOS platform

Reproduced on: 5.6.1p2, 2017.1.0b6, 2017.1.0b10, 2017.2.0a4
Not reproduced on: 5.6.1p1, 2017.1.0b5
Regression introduced in: 5.6.1p2, 2017.1.0b6, 2017.2.0a1

Reproduced on: DX11
Not reproduced on: Metal, OpenGL, DX9, DX12

Reproduced on: Android and iOS platforms
Not reproduced on: UWP, Windows Standalone, XBOX, WebGL platforms

========== OUTPUTING STACK TRACE ==================

0x0000000140DEA39F (Unity) GfxDevice::SetRenderTargets
0x0000000140ECD5C6 (Unity) GraphicsHelper::SetRenderTargets
0x0000000140E2A764 (Unity) GfxDeviceD3D11Base::GrabIntoRenderTexture
0x0000000140E9D053 (Unity) GfxDeviceWorker::RunCommand
0x0000000140EA1EDF (Unity) GfxDeviceWorker::Run
0x0000000140E80EF0 (Unity) GfxDeviceWorker::RunGfxDeviceWorker
0x00000001415A982C (Unity) Thread::RunThreadWrapper
0x00007FF949D52774 (KERNEL32) BaseThreadInitThunk
0x00007FF94C1B0D61 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

Fixed in: 2017.3.0a4
Backported to: 5.6.3p3, 2017.1.0f3, 2017.2.0b7

Comments (2)

  1. 9d866f71d5e72d572e4df4970cda3ef0?d=mm


    Aug 12, 2017 11:13

    Also happens for me when trying to launch my project, crashes on importing materials that have shaders using grabpass. Windows target, don't even have Android module installed.

  2. 0a78987ac82c05be00968b3a1738f7c9?d=mm


    Jun 23, 2017 17:35

    i just opened game in old beta changed to PC, Linux, MacOS, closed.
    Then i opened it in new beta(finally without crash) and it works :)...

All about bugs

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