mojira.dev
MC-277887

Missing core shaders program

When applying specific resource packs on versions 1.21.2 and 1.21.3, the following error is displayed in logs stating that the rendertype_armor_cutout_no_cull cannot be loaded.

Steps to Reproduce:
1. Apply a resource pack that utilises the rendertype_armor_cutout_no_cull core shader program.
2. Resource pack will not apply.

Observed Results:
The resource pack fails to apply and gives the attached error message: resource reload failed.

Expected Results:
The resource pack should apply correctly.

 

[23:20:55] [Render thread/INFO]: Reloading ResourceManager: vanilla, file/generated v1.1.5.zip
[23:20:55] [Worker-Main-6/INFO]: Found unifont_all_no_pua-15.1.05.hex, loading
[23:20:56] [Worker-Main-6/INFO]: Found unifont_jp_patch-15.1.05.hex, loading
[23:20:57] [Render thread/INFO]: Caught error loading resourcepacks, removing all selected resourcepacks
java.util.concurrent.CompletionException: java.lang.RuntimeException: Failed to load required shader programs:
 - minecraft:core/rendertype_armor_cutout_no_cull (VertexFormat[Position, Color, UV0, UV1, UV2, Normal]): Could not find shader: minecraft:rendertype_armor_cutout_no_cull (VERTEX)
 - minecraft:core/rendertype_text (VertexFormat[Position, Color, UV0, UV2]): Could not find shader: minecraft:rendertype_text (VERTEX)
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
	at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722) ~[?:?]
	at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
	at awb.a(SourceFile:68) ~[1.21.3.jar:?]
	at bry.d(SourceFile:164) ~[1.21.3.jar:?]
	at bsc.d(SourceFile:23) ~[1.21.3.jar:?]
	at bry.B(SourceFile:138) ~[1.21.3.jar:?]
	at bry.bA(SourceFile:123) ~[1.21.3.jar:?]
	at fmg.c(SourceFile:1307) [1.21.3.jar:?]
	at fmg.f(SourceFile:933) [1.21.3.jar:?]
	at net.minecraft.client.main.Main.main(SourceFile:265) [1.21.3.jar:?]
Caused by: java.lang.RuntimeException: Failed to load required shader programs:
 - minecraft:core/rendertype_armor_cutout_no_cull (VertexFormat[Position, Color, UV0, UV1, UV2, Normal]): Could not find shader: minecraft:rendertype_armor_cutout_no_cull (VERTEX)
 - minecraft:core/rendertype_text (VertexFormat[Position, Color, UV0, UV2]): Could not find shader: minecraft:rendertype_text (VERTEX)
	at gmc.a(SourceFile:174) ~[1.21.3.jar:?]
	at gmc.a(SourceFile:37) ~[1.21.3.jar:?]
	at awa.a(SourceFile:14) ~[1.21.3.jar:?]
	at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) ~[?:?]
	... 9 more
[23:20:57] [Render thread/INFO]: Reloading ResourceManager: vanilla
[23:20:57] [Worker-Main-1/INFO]: Found unifont_all_no_pua-15.1.05.hex, loading
[23:20:58] [Worker-Main-1/INFO]: Found unifont_jp_patch-15.1.05.hex, loading
[23:20:59] [Render thread/WARN]: Missing sound for event: minecraft:block.spawner.fall
[23:20:59] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on MSI MP271 (NVIDIA High Definition Audio)
[23:20:59] [Render thread/INFO]: Sound engine started
[23:20:59] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[23:20:59] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas
[23:20:59] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[23:20:59] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[23:20:59] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/armor_trims.png-atlas
[23:20:59] [Render thread/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas
[23:20:59] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[23:20:59] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[23:20:59] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[23:20:59] [Render thread/INFO]: Created: 64x64x0 minecraft:textures/atlas/map_decorations.png-atlas
[23:20:59] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas
[23:20:59] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/paintings.png-atlas
[23:20:59] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[23:20:59] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/gui.png-atlas

Linked issues

Attachments

Comments 6

We do not have enough information to reproduce this issue.

Please include the following information to help us understand your problem:

Steps to Reproduce:
1. (Explain what needs to be done for the issue to happen)
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

Please also attach any needed commands, add-ons/behavior packs, data packs, resource packs, screenshots, videos, or worlds needed to help reproduce this issue.

Refer to the Bug Tracker Guidelines for more information about how to write helpful bug reports. Bug reports with insufficient information may be closed as Incomplete.

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Please attach a resourcepack that can be used to reproduce this issue

Attached as requested.

The rendertype_armor_cutout_no_cullrendertype_breeze_windrendertype_energy_swirlrendertype_entity_cutout_no_cull_z_offsetrendertype_entity_cutout_no_cullrendertype_entity_cutoutrendertype_entity_no_outlinerendertype_entity_smooth_cutoutrendertype_entity_solidrendertype_entity_translucent_emissiverendertype_entity_translucent and rendertype_eyes shaders now use the entity.fsh and entity.vsh programs, fyi

I want to add in a Comment here as I have found the issue.
Yes, This IS a Minecraft bug.

I went further into this and Decompiled both 1.21.3 and 1.21.1 jar file versions to find that 1.21.3 is missing these two shader program files. rendertype_armor_cutout_no_cull.vsh (Vertex shader program) and rendertype_armor_cutout_no_cull.fsh (Fragment Shader).

Which that log you have gotten is complaining that Minecraft can't find the VERTEX version of the shader program (rendertype_armor_cutout_no_cull.vsh). Of course it will not be able to find it since in the 1.21.3 version of Minecraft. The files which hold those programs do not exist.

Currently, the only fix is to run on 1.21.1 sadly as that version has the required shader program.

Hope this helps someone as I have been struggling with it for a while.

 

In my opinion this is not a bug. The resource is not 1.21.2+ compatible, because it mentions shaders that does not exist. The core folder needs to be added in the vertex and fragment fields in the json file. This changed in 1.21.2.

I attached a fixed version, where I've updated the resource pack to 1.21.2.

Have not tested/updated/fixed functionality, only fixed the pack loading.

Swalbert

(Unassigned)

Confirmed

Rendering, Resource Packs

resource, resource-pack, shader, shaders

1.21.3

Retrieved