Search Issue Tracker

Fixed in 2017.3.0f3

Fixed in 5.6.X, 2017.1.X, 2017.2.X

Votes

15

Found in

2017.1.0b10

Issue ID

921083

Regression

Yes

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

DirectX12

-

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

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 (4)

  1. Hooligan-Labs

    Jan 25, 2019 02:33

    This suggestion resolved the issue for me: "Changing HDR Mode of 'High(Tier3)' in GraphicsSettings from R11G11B10 to FP16 removes crash". I was having this problem in 2018.3, and it was crashing my Windows editor regularly.

  2. Hooligan-Labs

    Jan 25, 2019 02:32

    This suggestion resolved the issue for me: "Changing HDR Mode of 'High(Tier3)' in GraphicsSettings from R11G11B10 to FP16 removes crash". I was having this problem in 2018.3, and it was crashing my Windows editor regularly.

  3. Scorr

    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.

  4. TheMorc

    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 :)...

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.