fix model button crashes blender #199

Closed
opened 2024-11-26 07:01:52 +00:00 by Ghost · 8 comments
Ghost commented 2024-11-26 07:01:52 +00:00 (Migrated from git.disroot.org)

Issue Title: fix model button crashes blender

Description of Issue:
When clicking 'Fix MMD model', the process causes Blender to crash instantly with no crash or bug report.

Blender Version:
4.3.0

Cats Version:
4.3.0

Operating System:
Windows 10

Steps to Reproduce:

[First step] Open blender. In object mode, Select the metarig object.
[Second step] Click the 'Fix MMD Model' button. Blender will crash if you do this.

Issue Title: fix model button crashes blender Description of Issue: When clicking 'Fix MMD model', the process causes Blender to crash instantly with no crash or bug report. Blender Version: 4.3.0 Cats Version: 4.3.0 Operating System: Windows 10 Steps to Reproduce: [First step] Open blender. In object mode, Select the metarig object. [Second step] Click the 'Fix MMD Model' button. Blender will crash if you do this.
Ghost commented 2024-11-26 07:23:08 +00:00 (Migrated from git.disroot.org)

As stated on the discord metarigs or rigify models are not supported by the fix mmd button and never truly have.

There has never been any code which allowed the metarigs or rigify rigs to be fixed via the fix model button. It was just in the past the rigify system was more simple and happened to just work fine with cats fix model which was more lucky then anything.

However blender changed alot of things with rigify since blender 4.0 and broke this compatibility, as fix model was never targeted towards those rigs and was always for mmd and vrm models (with gmod compatible scripts) and not for this use case, this issue will not be fixed.

However I will fix the crash issue as it shouldn't just crash and will have cats tell users the fix mmd model button is not meant to be used on rigify models.

If your looking for a rigify to unity system there are plugins which does this.

As stated on the discord metarigs or rigify models are not supported by the fix mmd button and never truly have. There has never been any code which allowed the metarigs or rigify rigs to be fixed via the fix model button. It was just in the past the rigify system was more simple and happened to just work fine with cats fix model which was more lucky then anything. However blender changed alot of things with rigify since blender 4.0 and broke this compatibility, as fix model was never targeted towards those rigs and was always for mmd and vrm models (with gmod compatible scripts) and not for this use case, this issue will not be fixed. However I will fix the crash issue as it shouldn't just crash and will have cats tell users the fix mmd model button is not meant to be used on rigify models. If your looking for a rigify to unity system there are plugins which does this.
Ghost commented 2024-11-26 13:06:50 +00:00 (Migrated from git.disroot.org)

that's weird, I'm following a tutorial where the youtuber used it. maybe I used the wrong rig? in any case. thank you for taking the time to respond.

that's weird, I'm following a tutorial where the youtuber used it. maybe I used the wrong rig? in any case. thank you for taking the time to respond.
Ghost commented 2024-11-26 13:11:32 +00:00 (Migrated from git.disroot.org)

Alot of YouTubers didn't understand what the fix model button did and never followed official advice. The fix model button can break non mmd and vrm models at times. Official advice was not to use it on non mmd, vrm or gmod models.

At a good guess at the time of when that video was made the fix model button was working with rigify but again, there was never any code which interacts with rigify it was pure luck that it worked. It was never made for that use case hence why we finally renamed it to fix mmd model.

After i fix the crash it may still work, however the crash is proving difficult to track down at the minute.

Alot of YouTubers didn't understand what the fix model button did and never followed official advice. The fix model button can break non mmd and vrm models at times. Official advice was not to use it on non mmd, vrm or gmod models. At a good guess at the time of when that video was made the fix model button was working with rigify but again, there was never any code which interacts with rigify it was pure luck that it worked. It was never made for that use case hence why we finally renamed it to fix mmd model. After i fix the crash it may still work, however the crash is proving difficult to track down at the minute.
Ghost commented 2024-11-26 13:52:00 +00:00 (Migrated from git.disroot.org)

Fair enough. After watching the tutorial further, it appears to have broken his rig slightly and he needed to fix it. And then re-exported it the normal way anyway so it was entirely pointless. 😅

Fair enough. After watching the tutorial further, it appears to have broken his rig slightly and he needed to fix it. And then re-exported it the normal way anyway so it was entirely pointless. 😅
Ghost commented 2024-11-26 14:31:19 +00:00 (Migrated from git.disroot.org)

Sounds about right lol, I update this post once I found a fix fir the crash

Sounds about right lol, I update this post once I found a fix fir the crash
Ghost commented 2024-11-26 15:13:51 +00:00 (Migrated from git.disroot.org)

This issue will be closed.

I am unable to fix the crash with rigify and metarigs, blender has changed way too much with rigify and would need major changes to Cats side to support it correctly and properly.

Avatar Toolkit will support Rigify and metarigs in the future so there is no point spending hours of work on Cats for this when it was never supported.

Instead if a user tries and use fix mmd model on a metarig as long as the user hasn't change bones names, cats will now tell the user the action is not supported and will cancel the operations.

This is deemed as will not fixed due to this.

Please see this issue on Avatar Toolkit re us adding this to avatar toolkit: https://github.com/teamneoneko/Avatar-Toolkit/issues/28

This issue will be closed. I am unable to fix the crash with rigify and metarigs, blender has changed way too much with rigify and would need major changes to Cats side to support it correctly and properly. Avatar Toolkit will support Rigify and metarigs in the future so there is no point spending hours of work on Cats for this when it was never supported. Instead if a user tries and use fix mmd model on a metarig as long as the user hasn't change bones names, cats will now tell the user the action is not supported and will cancel the operations. This is deemed as will not fixed due to this. Please see this issue on Avatar Toolkit re us adding this to avatar toolkit: https://github.com/teamneoneko/Avatar-Toolkit/issues/28
Ghost commented 2024-11-26 15:19:01 +00:00 (Migrated from git.disroot.org)

Understandable. Maybe post this issue somewhere prominent in the discord in case new users fall down the same rabbit hole.

Understandable. Maybe post this issue somewhere prominent in the discord in case new users fall down the same rabbit hole.
Ghost commented 2024-11-26 15:22:21 +00:00 (Migrated from git.disroot.org)

It will be added to the wiki in due course, plus the crash should not happen anymore as we will prevent users from even using fix mmd on those type of rigs.

It will be added to the wiki in due course, plus the crash should not happen anymore as we will prevent users from even using fix mmd on those type of rigs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Kneelawk/Cats-Blender-Plugin#199
No description provided.