UuuNyaa / blender_mmd_uuunyaa_tools

mmd_uuunyaa_tools is a blender addon for adjust scenes, models and materials in concert with mmd_tools
GNU General Public License v3.0
454 stars 29 forks source link

Blender4.X-UPBGE_mmd-uuunyaa-tools_ERROR&FIX #117

Open AkagiVoid opened 11 months ago

AkagiVoid commented 11 months ago

Hi, I'm using Blender's Game engine 4.1. :3 After doing the tutorial to the T, it still gave meh an error. X3 Before activating it: image

After attempt to activate it: image

(Updated) So I officially fixed dat by doing dis: image

Renaming ""BoneGroup" to "BoneCollections" and "bone_groups" to "bone_collections", seem to have fixed the problem.

image

image And TADA, just remember dat "mmd_tools" haz 2 be enabled first, save preferences, quit blender, launch blender again, open preferences again, add-ons section, search ""mmd", then enable "mmd_uuunyaa_tools", then save preferences, quite blender again, and now open blender again and U should be all set to go. :3 (U don't actually have to restart blender, although it's good practice to do so, dat way no conflicts will happen. ^w^ I even restart my computer after every update or GPU driver installation. X3 )

I hope that helps a few people out. X3

AkagiVoid commented 11 months ago

I now understand the issue for 4.X blender. X3 If anyone else is interested, then go to: https://wiki.blender.org/wiki/Reference/Release_Notes/4.0/Animation_Rigging/Bone_Collections_%26_Colors:_Upgrading

Go into the armatures.py, edit Line 333 "BoneGroup" to "BoneCollections", Line 334&334 "bone_groups" to "bone_collections", then save the py, try to re-enable the plugin, and now it should work properly again. :3

UuuNyaa commented 11 months ago

Thank you for the report 😀

MMD UuuNyaa Tool's Blender version support policy is as follows: https://mmd-blender.fandom.com/wiki/MMD_UuuNyaa_Tools#Requirements

By the way, we need MMD Tools to support Blender 4.x first. And it is in progress with the following pull request: https://github.com/UuuNyaa/blender_mmd_tools/pull/117