Import Mesh Loss Texture #381
Labels
No labels
Added
Avatar Toolkit Idea (Won't be added to Cats)
Cleanup
Fixed
Further Info Needed
In Progress
Might Add
Release Candidate
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Kneelawk/Cats-Blender-Plugin#381
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Blender versions: 4.4.3 and 4.5.3
Cat versions: 4.4.1 and 4.5.3
Operating system: Windows 1125H2
Steps to reproduce: import, lost
This plugin installation will include MMD plugins, but importing models with this MMD plugin will make an error, and installing the official MMD plugin in the plugin store will not be like this, as shown in the figure below.
Did you import via Cats Importer or the MMD one?, i need this info before i start looking into this.
It should not be doing this as Cats uses the latest MMD Tools in 4.5 in 4.5.3.0 so would have no clue on why it's doing this
Cats for Blender 4.5 is EOL however this is a more urgent issue so will release patch for 4.5 and 5.0
Aim for 4.5.3.1 and 5.0.1.2
I can not re-porudce this issue with the PMX models i have.
Both just MMD Tools by itself and Cats produces the same result so i need more infomation on this.
Both have issues with importing textures some models import them correctly some not. This maybe a wider issue with MMD Tools, i need more info and testing.
The only Theory i have is that the PMX files store the wrong path to textures but I dont know enough about the PMX format.
More info is needed, blender logs would be good to have.
Are you able to provide any logs/ blender console output?
Please note, if you have MMD tools and Cats installed there can conflict with each other and cuase issues, please ensure you don't have them installed when importing.
Possible fix deployed but honestly this issue has stumped me, there is no real reason why this should be happening and without further issue i can not progress this issue any further espically because i get varied results from Cats and the Standalone MMD Tools i think this could be an issue with how MMD Resolve Paths.
Waiting for further info
Thanks for providing the model, it seems it is what I needed. I was able to figure out the issue due to the logs it provided. The issue is with how MMD Tools handles texture paths, specifically in how it determines where to look for textures. This is a MMD Tools issue and not a Cats issue.
The problem happens because MMD Tools relies on a setting that tries to figure out its own folder location when it loads, but this doesn't work reliably - especially when the plugin is installed in custom or non-standard locations. When embedded in Cats, it fails to find the correct texture folder and ends up looking in the wrong place (the Blender installation directory).
I fixed it by making the importer bypass this unreliable setting and instead directly look for textures in two places:
This is actually a broader issue that could affect other users who have the standalone MMD Tools in custom locations too. But now with this fix, Cats users won't experience texture loss regardless of where the plugin is installed.
The fix is on the Dev Branch for 4.5
https://github.com/teamneoneko/Cats-Blender-Plugin/tree/blender-45-dev
It will soon be on the 5.x dev branch as well
https://github.com/teamneoneko/Cats-Blender-Plugin/tree/blender-5x-dev
It will be also in the next version for 4.5 and 5.0 which is due to come out at the end of this week.
Please feel free to test the dev branch and let me know if there is any other issues.
Thanks!
This is great, thank you very much, so I don't have to switch imports back and forth between multiple versions... However, I suddenly remembered something, as shown in the picture, the N panels they occupy are too redundant, and the two panels are duplicated, so I will choose an N panel management plugin to collect them together
I can't fix that sadly, those are external plugins (We used to be able to hide them, but blender stopped allowing that) however you can filter them out via N -> tool -> filter addons -> disable the filter
It turns out that there is also this tip, thank you very much, I wish you all the best
No worries, i will close this issue now as it's resolved is you have any other issues with texture loss feel free to re-open.