Fix or workauround for C++ Game Developers that can't use the Houdini Engine because of compile and build errors when the Plugin is installed

I am currently working on a Game Project that was requested by a client, for which i need the Effects of the Houdini software and the Game Logic of C++ Unreal Engine. But my Unreal Engine C++ Code does not compile and build with the Houdini Engine Plugin installed, neither the Houdini Niagara Plugin. The Plugin Versions matches the Houdini Version and the Unrel Engine Version too. I even tried to build the Houdini Engine before placing it in the UE/Engine/Plugin/Runtime or Marketplace folder. But every time when i try to build the Unreal Engine project from Visual Studio i get this error:

 The following modules are missing or build with a different Engine version
 "MyProjectName" 
 Would you like to rebuild them now?

Then i press ok and this message comes:

  "MyProjectName" could not be combiled. Try rebuilding from source manually.

After that i tried to preoritize the game as startupproject and build it, but it shows me weird errors:

    Failed to restore NuGetpackage

    Error retrieving package security risk data

    warning CA2200

    warning CA2249

I have searched for help online but could not find any solution for this problem and i do not know workarounds. This Problem has stopped my project for 3 days now and i am a Indie GameDeveloper so my Life basically depends on this fix or workaround. Do you know a fix for the code errors or a workaround on how i can export properly Meshes with Shaders and Simulations from Houdini to Unreal Engine 5 without the houdini plugin?

Thanks for your Help this would save my dream to be a Indie Game Developer!

I assume you already tried to re-generate the project files before compilation. Just tried it myself and could compile and start the editor without any issues (UE5.4, with Houdini Engine and FXLiveLink plugin enabled). Even packing works, but I don’t have any active assets that use the Houdini plugin.

Do you only use the plugin for the Houdini Engine or also the ones for ‘Kine FXLiveLink’ or ‘Niagara’ ? Where exactly does the compilation process break down? Maybe you could provide the log.

1 Like

ye i tried to regenerate, but the project still doesn’t compile. When you only install it, it compiles just fine, but as soon as you add a new C++ class and change some code the Project does not compile even in UE 5.4. My Project uses Unreal Version 5.3 and Houdini Engine and the Houdini Niagara Plugin folders are installed into the correct plugin folder locations. I need also the Houdini Kine FXLiveLink Plugin but couldn’t find on Github a supported version for 5.3, how did you found and installed it?
When i try to compile and build, visual studio throws me these errors:

Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Development Win64 -Project=“D:/UE 5 Spiele/AlienInfluence(Stable)/AlienInfluence.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users\flori\AppData\Local\UnrealBuildTool\Log.txt
Using ‘git status’ to determine working set for adaptive non-unity build (D:\UE 5 Spiele\AlienInfluence(Stable)).
Creating makefile for AlienInfluenceEditor (no existing makefile)
Total execution time: 0.55 seconds
Expecting to find a type to be declared in a module rules named ‘HoudiniEngine’ in UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. This type must derive from the ‘ModuleRules’ type defined by Unreal Build Tool.
LogInit: Warning: Still incompatible or missing module: AlienInfluence
LogCore: Engine exit requested (reason: EngineExit() was called)
LogExit: Preparing to exit.
LogVirtualization: UE::Virtualization was shutdown
LogModuleManager: Shutting down and abandoning module DesktopPlatform (64)
LogModuleManager: Shutting down and abandoning module PerforceSourceControl (62)
LogModuleManager: Shutting down and abandoning module PlasticSourceControl (60)
LogModuleManager: Shutting down and abandoning module SourceControl (59)
LogModuleManager: Shutting down and abandoning module PythonScriptPluginPreload (56)
LogModuleManager: Shutting down and abandoning module PlatformCryptoOpenSSL (54)
LogModuleManager: Shutting down and abandoning module PlatformCryptoTypes (52)
LogModuleManager: Shutting down and abandoning module PlatformCrypto (50)
LogModuleManager: Shutting down and abandoning module XGEController (48)
LogXGEController: Cannot use XGE Controller as Incredibuild is not installed on this machine.
LogXGEController: Cleaning working directory: C:/Users/flori/AppData/Local/Temp/UnrealXGEWorkingDir/
LogModuleManager: Shutting down and abandoning module FastBuildController (46)
LogModuleManager: Shutting down and abandoning module IoStoreOnDemand (44)
LogModuleManager: Shutting down and abandoning module AnimationModifiers (42)
LogModuleManager: Shutting down and abandoning module AudioEditor (40)
LogModuleManager: Shutting down and abandoning module PropertyEditor (39)
LogModuleManager: Shutting down and abandoning module Virtualization (36)
LogModuleManager: Shutting down and abandoning module MessageLog (35)
LogModuleManager: Shutting down and abandoning module TextureCompressor (32)
LogModuleManager: Shutting down and abandoning module OpenColorIOWrapper (31)
LogModuleManager: Shutting down and abandoning module RenderCore (28)
LogModuleManager: Shutting down and abandoning module Landscape (26)
LogModuleManager: Shutting down and abandoning module SlateRHIRenderer (24)
LogModuleManager: Shutting down and abandoning module AnimGraphRuntime (22)
LogModuleManager: Shutting down and abandoning module Renderer (20)
LogModuleManager: Shutting down and abandoning module Engine (18)
LogModuleManager: Shutting down and abandoning module CoreUObject (16)
LogModuleManager: Shutting down and abandoning module SandboxFile (14)
LogModuleManager: Shutting down and abandoning module PakFile (12)
LogPakFile: Destroying PakPlatformFile
LogModuleManager: Shutting down and abandoning module RSA (11)
LogModuleManager: Shutting down and abandoning module NetworkFile (8)
‘UnrealEditor.exe’ (Win32): Unloaded ‘C:\Users\flori\Desktop\UE_5.3\Engine\Binaries\ThirdParty\Python3\Win64\python3.dll’
‘UnrealEditor.exe’ (Win32): Unloaded ‘C:\Users\flori\Desktop\UE_5.3\Engine\Binaries\ThirdParty\Python3\Win64\python39.dll’
‘UnrealEditor.exe’ (Win32): Unloaded ‘C:\Users\flori\Desktop\UE_5.3\Engine\Binaries\ThirdParty\libsndfile\Win64\libsndfile-1.dll’
LogModuleManager: Shutting down and abandoning module StreamingFile (6)
LogModuleManager: Shutting down and abandoning module CookOnTheFly (4)
LogModuleManager: Shutting down and abandoning module StorageServerClient (2)
The thread ‘BackgroundThreadPool #0’ (35220) has exited with code 0 (0x0).
The thread ‘BackgroundThreadPool #1’ (54128) has exited with code 0 (0x0).
The thread ‘Background Worker #13’ (54140) has exited with code 0 (0x0).
The thread ‘Background Worker #21’ (51360) has exited with code 0 (0x0).
The thread ‘Foreground Worker #0’ (31420) has exited with code 0 (0x0).
The thread ‘Foreground Worker #1’ (52508) has exited with code 0 (0x0).
The thread ‘Background Worker #2’ (40412) has exited with code 0 (0x0).
The thread ‘Background Worker #3’ (21552) has exited with code 0 (0x0).
The thread ‘Background Worker #4’ (30572) has exited with code 0 (0x0).
The thread ‘Background Worker #5’ (21560) has exited with code 0 (0x0).
The thread ‘Background Worker #6’ (15280) has exited with code 0 (0x0).
The thread ‘Background Worker #7’ (14992) has exited with code 0 (0x0).
The thread ‘Background Worker #8’ (12476) has exited with code 0 (0x0).
The thread ‘Background Worker #9’ (572) has exited with code 0 (0x0).
The thread ‘Background Worker #10’ (47100) has exited with code 0 (0x0).
The thread ‘Background Worker #11’ (46340) has exited with code 0 (0x0).
The thread ‘Background Worker #12’ (8036) has exited with code 0 (0x0).
The thread ‘Background Worker #14’ (25052) has exited with code 0 (0x0).
The thread ‘Background Worker #15’ (32492) has exited with code 0 (0x0).
The thread ‘Background Worker #16’ (46208) has exited with code 0 (0x0).
The thread ‘Background Worker #17’ (48628) has exited with code 0 (0x0).
The thread ‘Background Worker #18’ (52696) has exited with code 0 (0x0).
The thread ‘Background Worker #19’ (51248) has exited with code 0 (0x0).
The thread ‘Background Worker #20’ (7240) has exited with code 0 (0x0).
The thread ‘Background Worker #22’ (5088) has exited with code 0 (0x0).
The thread ‘Background Worker #23’ (17472) has exited with code 0 (0x0).
The thread ‘Background Worker #24’ (1100) has exited with code 0 (0x0).
The thread ‘Background Worker #25’ (26416) has exited with code 0 (0x0).
The thread ‘Background Worker #26’ (30192) has exited with code 0 (0x0).
The thread ‘Background Worker #27’ (8492) has exited with code 0 (0x0).
The thread ‘Background Worker #28’ (55912) has exited with code 0 (0x0).
The thread ‘Background Worker #29’ (46240) has exited with code 0 (0x0).
The thread ‘Reserve Worker #1’ (16996) has exited with code 0 (0x0).
The thread ‘Reserve Worker #2’ (2740) has exited with code 0 (0x0).
The thread ‘Reserve Worker #0’ (41736) has exited with code 0 (0x0).
The thread ‘Reserve Worker #3’ (37396) has exited with code 0 (0x0).
The thread ‘Reserve Worker #4’ (26000) has exited with code 0 (0x0).
The thread ‘Reserve Worker #5’ (5232) has exited with code 0 (0x0).
The thread ‘Reserve Worker #6’ (50720) has exited with code 0 (0x0).
The thread ‘Reserve Worker #7’ (49624) has exited with code 0 (0x0).
The thread ‘Reserve Worker #8’ (12212) has exited with code 0 (0x0).
The thread ‘Reserve Worker #9’ (23712) has exited with code 0 (0x0).
The thread ‘Reserve Worker #10’ (9120) has exited with code 0 (0x0).
The thread ‘Reserve Worker #11’ (41112) has exited with code 0 (0x0).
The thread ‘Reserve Worker #12’ (52976) has exited with code 0 (0x0).
The thread ‘Reserve Worker #13’ (25232) has exited with code 0 (0x0).
The thread ‘Reserve Worker #14’ (36128) has exited with code 0 (0x0).
The thread ‘Reserve Worker #15’ (30640) has exited with code 0 (0x0).
The thread ‘Reserve Worker #16’ (26448) has exited with code 0 (0x0).
The thread ‘Reserve Worker #17’ (45692) has exited with code 0 (0x0).
The thread ‘Reserve Worker #18’ (4468) has exited with code 0 (0x0).
The thread ‘Reserve Worker #19’ (35564) has exited with code 0 (0x0).
The thread ‘Reserve Worker #20’ (41648) has exited with code 0 (0x0).
The thread ‘Reserve Worker #21’ (31532) has exited with code 0 (0x0).
The thread ‘Reserve Worker #22’ (44604) has exited with code 0 (0x0).
The thread ‘Reserve Worker #23’ (24352) has exited with code 0 (0x0).
The thread ‘Reserve Worker #24’ (9340) has exited with code 0 (0x0).
The thread ‘Reserve Worker #25’ (25800) has exited with code 0 (0x0).
The thread ‘Reserve Worker #26’ (47696) has exited with code 0 (0x0).
The thread ‘Reserve Worker #27’ (28376) has exited with code 0 (0x0).
The thread ‘Reserve Worker #28’ (57076) has exited with code 0 (0x0).
The thread ‘Reserve Worker #29’ (23272) has exited with code 0 (0x0).
LogExit: Exiting.
‘UnrealEditor.exe’ (Win32): Loaded ‘C:\Windows\System32\ntmarta.dll’.
The thread ‘FAsyncWriter_AlienInfluence’ (16180) has exited with code 0 (0x0).
‘UnrealEditor.exe’ (Win32): Loaded ‘C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll’.
The thread 29980 has exited with code 1 (0x1).
The thread 21232 has exited with code 1 (0x1).
The thread 55820 has exited with code 1 (0x1).
The thread 24316 has exited with code 1 (0x1).
The thread 9560 has exited with code 1 (0x1).
The thread 51760 has exited with code 1 (0x1).
The program ‘[5420] UnrealEditor.exe’ has exited with code 1 (0x1).

Big thanks for replicating and asking further questions! Hope you can find a fix.

My installed versions of the Houdini plugins were outdated. But I was not able to update them, so I had to use the Houdini Launcher to first delete the current installations and then install the new versions of the plugins. The Houdini Launcher will install the Unreal plugins for UE 5.3 and 5.4 to folder C:\Program Files\Side Effects Software\Houdini Engine\Unreal.

Today I made a new project with UE5.3 from the ‘third person’ template, added a c++ class to it, created a plugins folder and pasted a copy of the three folders with the Houdini plugins into it.

There were no issues with compiling, cooking or packaging, with c++ classes modified or new c++ classes added.

I once had a similar error when creating a c++ plugin, but in my case it turned out the type declaration already derived from ModuleRules type. Can no longer say how I solved this at the time, but suspect that something is missing or broken with your currently installed plugins.

1 Like

I have sent the crash report to houdini sidefx support and their solution was to create extra folders in the Projects directory like this: MyAwesomeProject/Plugins/Runtime and store the copy of plugins inside that Folder. Now my Project compiles fine and i can finally use the Houdini Engine Plugin with C++ UE Projects. Houdini is awesome!

The Problem was that everywhere i was looking for solutions, the plugin was stored in the Engine/Plugin directory and when using the Projects Plugins folder they didn’t mention that i have to create inside the Plugins folder a Runtime folder. The support says that with version 5.X there comes limitations and you can only paste the plugins into the Project directory with creating two extra folders.

Thanks for trying out to help me @OrbitalZones!