The most natural and powerful way to bring MagicaVoxel art into Unity.
Native Unity VOX Reader is a high-performance library and asset importer that allows you to treat MagicaVoxel .vox files as native Unity assets. No complex setup—just drag, drop, and enjoy.
Drag any .vox file into your Unity Project window, and it's ready to go. It automatically generates optimized meshes and materials.
Keep MagicaVoxel open, save your changes, and watch Unity update your models instantly. It breathes life into your creative process.
- 📦 Plug & Play: Drag
.voxfiles directly into your scene. Unity treats them like prefabs. - 🌳 Scene Awareness: Fully supports MagicaVoxel hierarchies (Groups and Transformations).
- 📐 High Optimization: Advanced Greedy Meshing reduces poly count by up to 90% compared to cube-based methods.
- 🎨 Texture Baking: Bakes all voxel colors into a single atlas to keep your draw calls at a minimum.
- 🛠 Inspector Controls: Adjust scale, atlas size, and mesh density directly on the asset importer.
- 🧩 Minimalist & Clean: Zero external dependencies and includes Assembly Definitions for optimal compile times.
- Installation:
- Option A (Package Manager - Recommended):
- In Unity, go to
Window>Package Manager. - Click the
+button and selectAdd package from git URL.... - Paste:
https://github.com/miventech/NativeUnityVoxReader.git
- In Unity, go to
- Option B (Manual): Copy the
NativeUnityVoxReaderfolder into yourAssetsdirectory.
- Option A (Package Manager - Recommended):
- Usage:
- Automatic: Just drag a
.voxfile into your Project. - Runtime: Use the
VoxReadercomponent orReaderVoxFile.Read()via script.
- Automatic: Just drag a
- Settings: Click on any
.voxasset in Unity to adjust its import settings in the Inspector.
- /Runtime: Core logic for binary parsing and mesh building.
- /Editor: The
ScriptedImporterthat powers the automatic asset conversion. - /ExampleFiles: Sample models to get you started.
This project is open-source and completely free. I created it to help the community create amazing things with voxels in Unity.
If this tool made your life easier, consider buying me a coffee. Your support helps me maintain the library and keep creating tools for everyone!
Created with passion by Miventech.

