After loading into Minecraft, if a world is loaded while RTX is off, it will fail to load textures correctly and all blocks have the default shiny texture, then if you reload the world with RTX enabled, it loads the textures.
After trying to reliably recreate the issue, it seems that if RTX is enabled when loading the game, no issues occur, but when loading the game with RTX disabled, then enabling it in a world, the textures fail to load, upon reloading the world with RTX initially enabled, it works.
In the video, RTX is initially disabled, a world is loaded, then using the colon/semicolon key, RTX is enabled, textures fail to load, the world is reloaded, and the textures load.
Linked issues
is duplicated by 2
Attachments
Comments 11
I've tried 3 different RTX resource packs, they all have this issue.
In my case it doesn't happen every time I leave a world with RTX off, but it will 100% happen if I leave the world with RTX off and close the game. The next time I go in to a world and enable RTX, everything is shiny.
Affects hotfix 1.18.31, although personally I was not able to reproduce it through conventional methods anymore. On specific devices/environments it can be caused still.
I was able to reproduce this issue on 1.18.31.
The results of my tests were equivalent using
and Vanilla RTX 1.4.0 (can't upload this one, >10Mo).
AMD Ryzen 5 3600 6-Core, Nvidia GeForce RTX 2060, 16Go RAM. Let me know if I can share anything else relevant here.
To sum up the behavior: PBR textures are loaded only if Ray Tracing was enabled at least once prior the world loading. It can be in a previous world, or on the main menu. PBR textures can be working when loading the world with Ray Tracing disabled, only if Ray Tracing as been toggled on and off once before.
Examples where PBR textures were loaded
✅ Enable Ray Tracing
Restart Minecraft
🌍 Load a world
Disable Ray Tracing
Restart Minecraft
✅ Enable Ray Tracing
🌍 Load a world
Disable Ray Tracing
Restart Minecraft
✅ Enable Ray Tracing
Disable Ray Tracing
🌍 Load a world
Enable Ray Tracing
Examples where PBR textures were not loaded
Disable Ray Tracing
Restart Minecraft
🌍 Load a world
❌ Enable Ray Tracing
Disable Ray Tracing
Restart Minecraft
Load a world
Leave it
🌍 Load a world
❌ Enable Ray Tracing
This plagues the game to-date (1.20.71)
Player has to enable ray tracing before joining a world or server to avoid this bug, if you freshly launch the game with ray tracing option set to off, join a world then turn ray tracing on, this bug is guaranteed to happen.
Fortunately it is easy to work around, simply exist and rejoin the world.
Still, this annoys a lot of players.
I'm pretty sure the reason this happens in the first place is I believe the game only ever generates the texture altas when loading into a world, hence the 'loading resource packs' section of the loading screen. When rtx is disabled, it doesn't load any pbr textures into the atlas, so whenever you enable it after this point, the game can't load them and it gets incorrect texture data from somewhere in the atlas. This is just my theory on what's happening though. Could be fixed by either always loading the pbr textures into the atlas, or adding a way to reload the resource packs in-game, simular to Java (would only happen the first time rtx is enabled).
This still plagues the game.
The only reliable workaround to this issue was to enable ray tracing from the main menu instead.
However we now have Mojira - Issue MCPE-191513
Which forces everyone to inevitably face this issue.
These two issues coupled together make the path to enabling ray tracing correctly much more difficult than necessary, it has been several years with no fix in sight from Mojang.
Which is why I had to resort to making a batch script which enables ray tracing before the game is even launched (available on GitHub)
Since Mojang hasn’t been willing to fix any of these issues for months and years, for anyone who finds this report, the script I’ve made is pretty much the only simple or reliable solution.
You can also do what the script does manually by opening the options.txt file of the game and setting graphics_mode to “3“
Hi
What RTX resource are you using? Please attach it here if possible.
This ticktet will automatically reopen when you reply.