mojira.dev
MCPE-152645

Engine switches to DX11 after quitting a world with RTX on, disabling DXR

After the recent change to the way RTX resources are handled in beta 1.18.20.25/preview 1.18.20.26:

  • Fixed a case where ray tracing resources would be destroyed prematurely on level exit from an RTX-enabled world

The game will either completely crash or the rendering engine will, causing it to switch to using DirectX 11 instead of DirectX 12. This results in completely disabling DXR, and users have to restart the application to fix it.

Steps to Reproduce:

  1. Apply an RTX resource pack to global resources in settings

  2. Open a world with RTX on

  3. Quit the world

Observed Results:

The game will either crash and close the application or a red screen will flash and the rendering engine will subsequently switch to DX11, disabling DXR from running when entering any other world or server.

Expected Results:

The world should be closed properly, without causing any crashes or switching the rendering engine to DX11. This full functionality was present before beta 1.18.20.25. 

My computer's specifications, if this issue isn't reproducible on higher end devices: 

CPU: Ryzen 5 2600
GPU: GeForce RTX 2060
RAM: 16GB 3000MHz
Storage: 128GB M.2 SSD

Link to the RTX resource pack in use when testing the bug:
https://www.mediafire.com/file/7rm4nmgtr57o2ys/Defined_PBR_1.1.7.mcpack/file

Related issues

Attachments

Comments

migrated
[media][media]
migrated

I have tried this and found that the application hangs on the Loading Resources screen when I quit an RTX enabled world.   I was unable to regain use of the desktop, and unable to even do a normal restart or shutdown (even by using the power button).   Ended up having to reset the computer without a clean shutdown, which is not good.

CPU: Intel i9 9900k

GPU: Geforce RTX3800 Ti

RAM: 32GB 3200MHz

Storage: 512GB M.2 SSD.

migrated

Can verify I am also having this issue where the game will crash and on rejoin the screen is completely black. The only way to use the RTX feature after this occurs is to fully close the game and rejoin the world with RTX already enabled before joining.

migrated

I've seen the exact thing happen when I turned RTX on from settings while in the world list screen
This was on 1.18.12.1 with a version switcher.

Specs:
AMD Ryzen 5 5600X
Nvidia RTX 3060
16GB Ram 3200MHz
512GB NVME SSD M.2

*Edit:
It doesn't seem to happen on 1.18.30. It doesn't crash, it only freezes for a while then control comes back.

migrated

Same issue here on 1.18.30.

Spec:

Intel 10700

Nvidia RTX 3090

MADLAD

(Unassigned)

719774

Confirmed

Windows

Windows 10 Pro Build 19044

RTX, crash, raytracing, rendering

1.19.0.25 Preview, 1.19.0.24 Beta, 1.19.0.21 Preview, 1.19.0.20 Beta, 1.18.30.27 Preview, ..., 1.18.20.29 Beta, 1.18.20.27 Beta, 1.18.30.21 Preview, 1.18.30.20 Beta, 1.18.30

1.18.31

Retrieved