Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.42f1

2022.3.42f1

6000.0.17f1

Issue ID

UUM-79532

Regression

No

Editor crashes on "DesktopRenderer:ScreenCapErrorMessage" when using DXGI in Play Mode

--

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/ProtoTypeScene.unity” Scene
3. Enter the Play Mode
4. Exit the Play Mode

Expected result: Editor does not crash and continues to run
Actual result: Editor crashes without Bug Reporter

Reproducible with: 2021.3.42f1, 2022.3.42f1, 6000.0.17f1

Reproducible on:
Play Mode

Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

First few lines of the Stacktrace:
at <unknown> <0xffffffff>
at DesktopRenderer:ScreenCapErrorMessages <0x000a1>
at DesktopRenderer:OnDestroy <0x0009a>
at System.Object:runtime_invoke_void__this__ <0x00087>

Notes:
- Reproducible with DX11 and DX12

  1. Resolution Note:

    The crash seems to come from a user call to a user-provided native DLL function (user's C# code calling user-made C/C++ DLL). Since this is related to a native function, a crash is normal since the Editor can not easily recover from that kind of error, it's not like an error in the C# code.

    This is all outside of Unity-controlled code.

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.