yanny7/YTech

Weird crash after trying to edit textures in mod

Closed this issue · 6 comments

I retextured the bronze textures in the mod, and yet now every time I try to equip a piece of bronze armor, the game crashes and says " The game crashed whilst rendering entity in world
Error: net.minecraft.ResourceLocationException: Non [a-z0-9/._-] character in path of location: minecraft:textures/models/armor/Bronze_layer_2.png "

I made sure to not change the name at all, and the issue persists even after reinstalling the mod, forge, and even my entire game. I am unsure if this is something you'd know how to fix, however I had no idea where else to ask, as I am unsure if anybody has ever had this issue before

Looks like you put a capital B, changing that to lowercase will fix the error

That's the part that confuses me though, because even when I changed the mod version I put the custom textures out with one I downloaded from curseforge that had the original texture files, I still get this error when trying to equip bronze armor. it doesn't matter what version of the mod I use, if I use the bronze armor from this mod at all now, it crashes my game and gives me that error

I just loaded the mod on its own to test this and it seems to crash the game when any armor from ytech is equipped. But when I tested it in my modpack it doesn’t crash the game, instead the armor is displayed blocky with purple and black textures.
Looks like the mod might be pointing to the wrong location for the armor's and/or the capital letter/s are the issue based on the error.

Full crash log if needed:
crash-2024-11-22_23.33.09-client.txt

Looks like the issue dates back to YTech 0.7 as 0.6.1 doesn't have this issue

I see. Thank you for your help here, I guess I will be using version 6.1 until this is fixed

yanny7 commented

Fixed in v0.9.1