MCreator / MCreator

MCreator is software used to make Minecraft Java Edition mods, Bedrock Edition Add-Ons, and data packs using visual graphical programming or integrated IDE. It is used worldwide by Minecraft players, aspiring mod developers, for education, online classes, and STEM workshops.
https://mcreator.net/
Other
882 stars 160 forks source link

2024.2 pre-release converting workspace makes some textures not work anymore #4940

Closed Lcs128 closed 4 months ago

Lcs128 commented 4 months ago

Issue tracker rule checks (read carefully)

Issue description

I converted a workspace of mine to 1.20.6 and some texture dissapeared I tried to readd them to the repsective items but they appear as a blank texture in the workspace and a pink and black cube in game.

How to reproduce this issue?

Step 1. Convert a workspace from 2024.1 to the 2024.2 prerelease with textures with dashes in their names Step 2. many textures with a dash in their name will stop working Step 3. When reapplying the texture it will stil be a blank gray texture and when opening the game they will be pink and black or invisible afbeelding_2024-07-12_031538137 afbeelding_2024-07-12_031609059

Operating system

Windows

Details

Mcreator [2024.2 EAP (27311)] [1.20.6 NeoForge Generator]

Example workspace

Please only use this workspace for bug fixing purposes After converting from 2024.1 to 2024.2 some textures will be corrupted you can search 'holmium' and 'painite' for examples

Logs

No response

KlemenDEV commented 4 months ago

That is one impressive workspace. Would you mind if we use it in the future for potential MCreator UI showcase screenshots such as on our about page or social networks?

Lcs128 commented 4 months ago

That is completly fine as long as you do not redistribute the workspace itself of course (:

KlemenDEV commented 4 months ago

Btw I have your workspace locally so feel free to remove it now if you don't want people using the workspace

Lcs128 commented 4 months ago

ok I will thanks!

KlemenDEV commented 4 months ago

Turns out this happens if texture has .png.png or .png.png.png in name and so on.

In general, it is bad practice to name files like that, but we will try to make it work nontheless