Twinmotion 23.1 to Unreal 5.1 packaging fail

I have the issue that I can not package the file for windows in UE5.1.
Tried following this post, which does not resolve the issue. Twinmotion

My workflow on a high end Win11 machine:

I used Revits sample project, pushed it via Datasmith into TM23.1 and textured it there. From there I pushed it via datasmith into UE5.1. So far so good. All materials and geometries come through but I can not package it for windows.

The log is referring to "Unable to find plugin ‘TwinmotionToUnrealContent’ which i assume causes the build to fail?

I do have the plugin installed and activated for the TM23.1 version and if I am not mistaken I should not have two plugins in the Marketplace directory which is why I do not have installed "Twinmotion Content for Unreal Engine Plugin (Beta 4) " I had both installed before and the error in the log was the same, so I removed the beta 4 one.

My log looks like this:

I highly appreciate insight into what might cause the packaging to fail. :v:

Log started at 01/30/2023 14:55:46 (2023-01-30T13:55:46Z)

Adding event matcher: CompileEventMatcher

Adding event matcher: LinkEventMatcher

Adding event matcher: MicrosoftEventMatcher

Adding event matcher: XoreaxEventMatcher

No config file at [C:\Users\olaf\Documents\Unreal](file:///C:/Users/olaf/Documents/Unreal) Engine\UnrealBuildTool\BuildConfiguration.xml

Configuration will be read from:

[C:\Users\olaf\AppData\Roaming\Unreal](file:///C:/Users/olaf/AppData/Roaming/Unreal) Engine\UnrealBuildTool\BuildConfiguration.xml

Log file: [C:\Users\olaf\AppData\Roaming\Unreal](file:///C:/Users/olaf/AppData/Roaming/Unreal) Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\UBT-Revit_Sample01-Win64-Development.txt

Registering build platform: UnrealBuildTool.AndroidPlatformFactory

Note: Android toolchain NDK r25b recommended

Registering build platform: Android - buildable: False

Registering build platform: UnrealBuildTool.IOSPlatformFactory

Registering build platform: IOS - buildable: False

Registering build platform: UnrealBuildTool.LinuxPlatformFactory

Registering build platform: Linux - buildable: False

Registering build platform: LinuxArm64 - buildable: False

Registering build platform: UnrealBuildTool.MacPlatformFactory

Registering build platform: UnrealBuildTool.TVOSPlatformFactory

Registering build platform: UnrealBuildTool.WindowsPlatformFactory

Found Windows 10 SDK root at [C:\Program](file:///C:/Program) Files (x86)\Windows Kits\10 (1)

Found Windows 10 SDK root at [C:\Program](file:///C:/Program) Files (x86)\Windows Kits\10 (2)

Found Windows 10 SDK version 10.0.19041.0 at [C:\Program](file:///C:/Program) Files (x86)\Windows Kits\10

Found Universal CRT version 10.0.19041.0 at [C:\Program](file:///C:/Program) Files (x86)\Windows Kits\10

Found Windows 10 SDK version 10.0.22000.0 at [C:\Program](file:///C:/Program) Files (x86)\Windows Kits\10

Found Universal CRT version 10.0.22000.0 at [C:\Program](file:///C:/Program) Files (x86)\Windows Kits\10

Found Windows 10 SDK version 10.0.22621.0 at [C:\Program](file:///C:/Program) Files (x86)\Windows Kits\10

Found Universal CRT version 10.0.22621.0 at [C:\Program](file:///C:/Program) Files (x86)\Windows Kits\10

Win64 Installed SDK(s): MinVersion_Sdk=10.0.00000.0, MaxVersion_Sdk=10.9.99999.0, CurrentVersion_Sdk=10.0.22621.0, Version_AutoSdk=10.0.18362.0, CurrentVersion_AutoSdk=

Registering build platform: Win64 - buildable: True

Registering build platform: UnrealBuildTool.HoloLensPlatformFactory

Command line: “[C:\Program](file:///C:/Program) Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Revit_Sample01 Win64 Development “-Project=[C:\Users\olaf\Documents\Unreal](file:///C:/Users/olaf/Documents/Unreal) Projects\Revit_Sample01\Revit_Sample01.uproject” “[C:\Users\olaf\Documents\Unreal](file:///C:/Users/olaf/Documents/Unreal) Projects\Revit_Sample01\Revit_Sample01.uproject” -NoUBTMakefiles “-remoteini=[C:\Users\olaf\Documents\Unreal](file:///C:/Users/olaf/Documents/Unreal) Projects\Revit_Sample01” -skipdeploy “-Manifest=[C:\Users\olaf\Documents\Unreal](file:///C:/Users/olaf/Documents/Unreal) Projects\Revit_Sample01\Intermediate\Build\Manifest.xml” -NoHotReload “-log=[C:\Users\olaf\AppData\Roaming\Unreal](file:///C:/Users/olaf/AppData/Roaming/Unreal) Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\UBT-Revit_Sample01-Win64-Development.txt”

Creating project rules assembly for [C:\Users\olaf\Documents\Unreal](file:///C:/Users/olaf/Documents/Unreal) Projects\Revit_Sample01\Revit_Sample01.uproject…

Skipping [C:\Program](file:///C:/Program) Files\Epic Games\UE_5.1\Engine\Intermediate\Build\BuildRules\UE5Rules.dll: File is installed

Skipping [C:\Program](file:///C:/Program) Files\Epic Games\UE_5.1\Engine\Intermediate\Build\BuildRules\UE5ProgramRules.dll: File is installed

Found 0 Plugins:

Found 0 Modules:

Compiling [C:\Users\olaf\Documents\Unreal](file:///C:/Users/olaf/Documents/Unreal) Projects\Revit_Sample01\Intermediate\Build\BuildRules\Revit_Sample01ModuleRules.dll: Assembly does not exist

Found Visual Studio installation: [C:\Program](file:///C:/Program) Files (x86)\Microsoft Visual Studio\2019\Community (Product=Microsoft.VisualStudio.Product.Community, Version=16.11.33214.272)

Found Visual Studio installation: [C:\Program](file:///C:/Program) Files\Microsoft Visual Studio\2022\Community (Product=Microsoft.VisualStudio.Product.Community, Version=17.4.33213.308)

Found Visual Studio toolchain: [C:\Program](file:///C:/Program) Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133 (Family=14.29.30133, FamilyRank=0, Version=14.29.30147, Is64Bit=True, Preview=False, Architecture=x64, Error=False, Redist=[C:\Program](file:///C:/Program) Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.29.30133)

Building UnrealGame - Revit_Sample01 - Win64 - Development

Compile Env Launch: WITH_LAUNCHERCHECK=0

Compile Env Launch: UE_BUILD_DEVELOPMENT_WITH_DEBUGGAME=0

Compile Env Launch: UE_MODULE_NAME=“Launch”

Compile Env Launch: UE_PLUGIN_NAME=“”

Enabling plugin ‘ResonanceAudio’ (referenced via Revit_Sample01.uproject)

Compile Env ResonanceAudio: SUPPORTS_PROCEDURAL_MESH=1

Compile Env ResonanceAudio: UE_MODULE_NAME=“ResonanceAudio”

Compile Env ResonanceAudio: UE_PLUGIN_NAME=“ResonanceAudio”

Enabling plugin ‘ProceduralMeshComponent’ (referenced via Revit_Sample01.uproject → ResonanceAudio.uplugin)

Compile Env ProceduralMeshComponent: UE_MODULE_NAME=“ProceduralMeshComponent”

Compile Env ProceduralMeshComponent: UE_PLUGIN_NAME=“ProceduralMeshComponent”

Enabling plugin ‘OpenXR’ (referenced via Revit_Sample01.uproject)

Compile Env OpenXRHMD: UE_MODULE_NAME=“OpenXRHMD”

Compile Env OpenXRHMD: UE_PLUGIN_NAME=“OpenXR”

Compile Env OpenXRInput: UE_MODULE_NAME=“OpenXRInput”

Compile Env OpenXRInput: UE_PLUGIN_NAME=“OpenXR”

Compile Env OpenXRAR: UE_MODULE_NAME=“OpenXRAR”

Compile Env OpenXRAR: UE_PLUGIN_NAME=“OpenXR”

Enabling plugin ‘EnhancedInput’ (referenced via Revit_Sample01.uproject → OpenXR.uplugin)

Compile Env EnhancedInput: UE_MODULE_NAME=“EnhancedInput”

Compile Env EnhancedInput: UE_PLUGIN_NAME=“EnhancedInput”

Unable to find plugin ‘TwinmotionToUnrealContent’ (referenced via Revit_Sample01.uproject). Install it and try again, or remove it from the required plugin list.

BuildException: Unable to find plugin ‘TwinmotionToUnrealContent’ (referenced via Revit_Sample01.uproject). Install it and try again, or remove it from the required plugin list.

at UnrealBuildTool.UEBuildTarget.AddPlugin(PluginReferenceDescriptor Reference, String ReferenceChain, String[] ExcludeFolders, Dictionary2 NameToInstance, Dictionary2 NameToInfos, ILogger Logger) in [D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs](file:///D:/build/++UE5/Sync/Engine/Saved/CsTools/Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildTarget.cs):line 3631

at UnrealBuildTool.UEBuildTarget.SetupPlugins(ILogger Logger) in [D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs](file:///D:/build/++UE5/Sync/Engine/Saved/CsTools/Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildTarget.cs):line 3463

at UnrealBuildTool.UEBuildTarget.PreBuildSetup(ILogger Logger) in [D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs](file:///D:/build/++UE5/Sync/Engine/Saved/CsTools/Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildTarget.cs):line 2677

at UnrealBuildTool.UEBuildTarget.Create(TargetDescriptor Descriptor, Boolean bSkipRulesCompile, Boolean bForceRulesCompile, Boolean bUsePrecompiled, ILogger Logger) in [D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs](file:///D:/build/++UE5/Sync/Engine/Saved/CsTools/Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildTarget.cs):line 857

at UnrealBuildTool.BuildMode.CreateMakefile(BuildConfiguration BuildConfiguration, TargetDescriptor TargetDescriptor, ISourceFileWorkingSet WorkingSet, ILogger Logger) in [D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs](file:///D:/build/++UE5/Sync/Engine/Saved/CsTools/Engine/Source/Programs/UnrealBuildTool/Modes/BuildMode.cs):line 741

at UnrealBuildTool.BuildMode.Build(List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, ISourceFileWorkingSet WorkingSet, BuildOptions Options, FileReference WriteOutdatedActionsFile, ILogger Logger, Boolean bSkipPreBuildTargets) in [D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs](file:///D:/build/++UE5/Sync/Engine/Saved/CsTools/Engine/Source/Programs/UnrealBuildTool/Modes/BuildMode.cs):line 275

at UnrealBuildTool.BuildMode.Execute(CommandLineArguments Arguments, ILogger Logger) in [D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs](file:///D:/build/++UE5/Sync/Engine/Saved/CsTools/Engine/Source/Programs/UnrealBuildTool/Modes/BuildMode.cs):line 242

at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in [D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs](file:///D:/build/++UE5/Sync/Engine/Saved/CsTools/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.cs):line 648

WriteFileIfChanged() wrote 0 changed files of 0 requested writes.

Timeline:

[ 0.000]

0.000

[ 2.312]

1 Like

Hi OlafKon, have you found a solution to your problem yet? If so, I’m dealing with the same problem and now I’m kinda stuck.

Apologies for the very late reply. I hope you found a solution.
If I remember right, there were two TM to Unreal content packages/plugins available at the time and it turned out that one of them was actually not needed and prevented the scene from being compiled. Once uninstalled, UE5 happily packaged.

With the latest TM versions I think those are obsolete anyways…