Note
This article is mirrored from 《unity学习笔记》——将MMD模型导入unity for personal reference. Some content has been modified.
Method 1: Using a Unity Plugin to Import Directly
Step 1: Install the MMD4Mecanim (Beta) Plugin
Plugin Site:
Stereoarts Homepage
(Per the author’s request, do not upload this to GitHub)
Direct Link:
MMD4Mecanim_Beta_20200105.zip
Step 2: Open Unity and double-click the MMD4Mecanim.unitypackage file in the downloaded package.
Step 3: Import all MMD model files into Unity
Select the auto-generated .MMD4Mecanim file and click “Agree” (you can add animations, music, etc., here).
The advantage of this method is that it maximizes the original MMD rendering style without requiring manual shader setup or external software.
Method 2: Convert MMD to FBX via Blender Plugin
Step 1: Install the Blender Plugin
GitHub: cats-blender-plugin
This plugin allows Blender to recognize MMD .pmx files. You can then export to formats like .fbx or .stl (Unity prefers .fbx).
Step 2: Import the exported FBX and all original textures into Unity
The rendering style might look different upon import, so you’ll need to configure shaders manually.
Setting up your own shaders allows you to unify the art style across different models in Unity. For a shortcut, you can download a model with the desired style from the Unity Asset Store and apply its shader to your MMD model. (Animations are compatible, and colors can be tweaked manually).