Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to import .vox file with multiple parts #13

Open
OkamiWong opened this issue May 19, 2020 · 5 comments
Open

Unable to import .vox file with multiple parts #13

OkamiWong opened this issue May 19, 2020 · 5 comments
Assignees

Comments

@OkamiWong
Copy link

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.

@LunaSolVT
Copy link

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.

@mik14a mik14a self-assigned this Jun 27, 2020
@mik14a
Copy link
Owner

mik14a commented Jul 17, 2020

Hi @OkamiWong, @datapawwolf

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.

@OkamiWong
Copy link
Author

@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.```

@mik14a
Copy link
Owner

mik14a commented Jul 17, 2020

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.

@LunaSolVT
Copy link

I'll give it a shot soon myself! I appreciate the updates to plugin. ^-^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants