ConnectedTexturesMod

ConnectedTexturesMod

110M Downloads

Using F3 + t to reload textures causes CTM to display missing texture

ferreusveritas opened this issue · 7 comments

commented

CTM version: CTM-MC1.12-0.2.3.12
Forge: 1.12.2-14.23.2.2611

Fresh launch:
2018-04-11_23 06 31

After pressing F3 + t:
2018-04-11_23 06 52

This is happening in the dev environment while I'm working on a mod that uses CTM.
mod: Cathedral Mod

file: mcmeta file
The only way to get the texture to resolve is to close out completely and relaunch. Although this is a work around I do a lot of block models and reload constantly using F3 + t to see my changes. If the problem is on my end I would appreciate somebody setting me straight.

Thanks.

commented

Those are some pretty sweet blocks! Unfortunately I’ll have to pass this issue to @tterrag1098 since he’s the engineer behind most of CTM. The mcmeta is syntactically correct though.

commented

Thank you! :)

commented

Yah, reloading textures in-game has been broken for a while. I think there was a change within Forge that broke it. It's affecting other mods that rely on resource reloads too such as JEI's item blacklist.

commented

Happy to report this is finally fixed, I will be pushing an update soon. The fix was pretty simple, but it remains a mystery why I was not seeing this on some of my own things. Either way, I tested with your mod (a great test case btw) and everything seems to work fine now.

commented

what was the cause of the bug ?

commented

Texture metadata caches not being invalidated on reload. You can see it in the referenced commit.

commented

In my case, I managed to narrow this down to LiteLoader as the cause. I can confirm that merging the current 1.10 and 1.12 branches fixed the problem, at least in my case. An official build would be nice though for others.