mojira.dev
MC-145275

Reloading a resource pack messes up all textures for an instant

Parent: MC-156088
The bug
I went to reload resource pack and got a really weird image for one frame near the end of the loading bar. The textures seem to have gotten messed up and attached to the wrong blocks. Grass turned into green glazed terracotta and stone turned into blue. I don't even know what the scaffolding turned into. It returns to normal once the Mojang logo is gone.
Entities (including pantings) don't seem to be affected by this. Item textures are also able to be loaded by this bug.
It seems to happen more often when a texture is changed.

How to reproduce

  1. Get a texture pack

  2. Enter a world

  3. Change any file name in the texture pack

  4. Press F3+T and watch closely

  5. Near the end you'll see the textures glitch for a frame

Linked issues

Attachments

Comments 7

Seacraft Gaming

The real question is why isn't the loading screen background appearing (or rather becoming opaque) quick enough so that you don't see this issue?

Suspect this is similar to MC-153547

Aha! I think I know the cause of this. When a block finds a non-existent texture, it just leaks an image from a spritemap to fill it in. This image is from a model file which calls a uv from out of the bounds of the image.

Image and respective model file:

[media]

[media]

Result:

[media]

Child issue of MC-156088

Seems to have been fixed in 19w38a. There is no longer any starting transition to the loader so this doesn't appear any more.

Yeah, this doesn't happen any more. Mark Resolved?

It was fixed in 19w38a, not 19w46b..

Nixinova

(Unassigned)

Confirmed

UI

Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13b, ..., Minecraft 1.14.4 Pre-Release 2, 1.14.4, 19w34a, 19w35a, 19w36a

19w38a

Retrieved