Unable to import .vox file with multiple parts
OkamiWong opened this issue · comments
When I import the .vox file with multiple parts edited in the world editor of MagicaVoxel 0.99.4.2 as a static mesh, the result mesh is cracked;
When I import it as a destructible mesh, the unreal editor suspends.
Unreal Engine: 4.24.3
I used the proper build of the plugin.
This would be kind of an issue for me as well. I know the plugin still works and builds just fine for 4.25.1 so I'd love to see this supported if there's still interest in the contributors to keep plugging away at support.
I trying support extension formats in support-vox-extension-format branch.
Please check it out and try to build plugin.
Build destructible mesh is heavy process.
Try it with small objects.
@mik14a Thanks for the update!
However, I had trouble building it in UE4.25.1. Here is the log:
LogInit: Warning: Incompatible or missing module: VOX4U
LogInit: Warning: Incompatible or missing module: VOX4UEditor
Running D:/Program Files/Epic Games/UE_4.25/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project="D:/Code/unreal/VoxelTest/VoxelTest.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Invalidating makefile for UE4Editor (source file removed)
D:\Code\unreal\VoxelTest\Plugins\Runtime\VOX4U\Source\VOX4UEditor\VOX4UEditor.Build.cs: warning: Referenced directory 'D:\Code\unreal\VoxelTest\Plugins\Runtime\VOX4U\Source\VOX4UEditor\libVOX\include' does not exist.
@progress push 5%
Parsing headers for UE4Editor
Running UnrealHeaderTool "D:\Code\unreal\VoxelTest\VoxelTest.uproject" "D:\Code\unreal\VoxelTest\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="C:\Users\wtfim\AppData\Local\UnrealBuildTool\Log_UHT.txt" -installed
Reflection code generated for UE4Editor in 7.78585 seconds
@progress pop
Building UE4Editor...
Using Visual Studio 2019 14.26.28805 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
Building 11 actions with 8 processes...
@progress 'Compiling C++ source code...' 0%
@progress 'Compiling C++ source code...' 9%
[1/11] Default.rc2
@progress 'Compiling C++ source code...' 18%
[2/11] Default.rc2
@progress 'Compiling C++ source code...' 27%
[3/11] Module.VOX4UEditor.cpp
D:\Code\unreal\VoxelTest\Plugins\Runtime\VOX4U\Source\VOX4UEditor\Private\Importer\IVoxImporter.h(7): fatal error C1083: ???????ļ?: ??vox.h??: No such file or directory
@progress 'Compiling C++ source code...' 36%
[4/11] Module.VOX4U.gen.cpp
@progress 'Compiling C++ source code...' 45%
[5/11] Module.VOX4UEditor.gen.cpp
@progress 'Compiling C++ source code...' 55%
[6/11] Module.VOX4U.cpp
@progress 'Compiling C++ source code...' 64%
[7/11] UE4Editor-VOX4U.lib
???ڴ????? D:\Code\unreal\VoxelTest\Plugins\Runtime\VOX4U\Intermediate\Build\Win64\UE4Editor\Development\VOX4U\UE4Editor-VOX4U.lib ?Ͷ??? D:\Code\unreal\VoxelTest\Plugins\Runtime\VOX4U\Intermediate\Build\Win64\UE4Editor\Development\VOX4U\UE4Editor-VOX4U.exp
@progress 'Compiling C++ source code...' 73%
[8/11] UE4Editor-VOX4U.dll
???ڴ????? D:\Code\unreal\VoxelTest\Plugins\Runtime\VOX4U\Intermediate\Build\Win64\UE4Editor\Development\VOX4U\UE4Editor-VOX4U.suppressed.lib ?Ͷ??? D:\Code\unreal\VoxelTest\Plugins\Runtime\VOX4U\Intermediate\Build\Win64\UE4Editor\Development\VOX4U\UE4Editor-VOX4U.suppressed.exp
LogInit: Warning: Still incompatible or missing module: VOX4U
LogInit: Warning: Still incompatible or missing module: VOX4UEditor
LogCore: Engine exit requested (reason: EngineExit() was called)
LogExit: Preparing to exit.```
Sorry @OkamiWong
It has been updated to use sub-modules for the vox reading process.
git submodule update --init
Need update the libVOX sub-module.
README will be updated later.
I'll give it a shot soon myself! I appreciate the updates to plugin. ^-^