Search Issue Tracker

Active

Votes

0

Found in

2022.3.60f1

6000.0.45f1

Issue ID

UUM-101477

Regression

No

Crash on D3D12GetInterface or freeze in Player built with Direct3D12 when pressing "Esc" button while spectating after character's death

-

Reproduction steps:
1. Open the attached “repro_IN-96085“ project
2. Open the “Assets/ResourcesStatic/Scenes/StartScene.unity“ Scene
3. Ensure you have “Direct3D12” set as the graphics API (“Edit → Project Settings… → Other Settings“)
4. In the Editor overlay, select “Build System → Build Step → BuildProcessReturnStreamingPrefabs (zip → prefabs)“
5. Select “Build System → Asset Bundles → Build”
6. Select “Build System → Asset Bundles → Deploy“
7. Open the “File → Build Profiles/Build Settings…” window and build the project by pressing the “Build“ button
8. Once the build process is complete, open the build folder in the Terminal
9. Run the game .exe via the Terminal with the “-noPlatform” parameter
10. Once the game launches, press the “Space“ button to enter the lobby
11. Once in the lobby, select “Custom Game → Create → Create”
12. When the game launches, press “Enter“ and input “/add_bot 1“ and then “/skip_timer“
13. Once the match starts, jump out of the boat, and swim around while holding “Space“ until your stamina runs out
14. When your stamina runs out, wait until you drown - when that happens, you’ll lose the match and the bot will win
15. Once the “You Have Been Defeated“ screen shows up, press “Space“, then press “Space“ again to spectate as a chicken
16. When the spectating starts, press the “Esc“ button on your keyboard
17. Observe the crash or the freeze

Reproducible with: 2022.3.60f1, 6000.0.45f1
Not reproducible with: 6000.1.0b12, 6000.2.0a7

Reproducible on: Windows 10 (22H2)
Not reproducible on: No other environments tested

Notes:

* If the crash doesn’t occur, leave the match, then start it again and repeat from the 13th step
* Crashes on the 2022.3 stream, freezes on the 6000.0 stream

First few lines of the stack trace:
0x00007FFDB1715E2B (D3D12Core) D3D12GetInterface
0x00007FFD82939A0D (UnityPlayer) UnityMain
0x00007FFD82939C9A (UnityPlayer) UnityMain
0x00007FFD8293D723 (UnityPlayer) UnityMain
0x00007FFD82938408 (UnityPlayer) UnityMain

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.