HoudiniEngineForUnreal icon indicating copy to clipboard operation
HoudiniEngineForUnreal copied to clipboard

Add missing includes for UE5.2 Engine plugin compilation

Open JElbourne opened this issue 2 years ago • 1 comments

Problem needing to be solved:

Although the Plugin would compile for a project, it would fail compilation with include errors when trying to compile as an Engine Plugin.

This is due to changes made by Epic in the engine source such a relocating or renaming classes and files.

In some situation it is important to distribute the plugin as part of a pre-compile engine with an organization. The build error's did not allow this.

Fixes / Changes in this Pull Request:

Using a preprocessor-macro of ENGINE_MINOR_VERSION as a conditional, the file includes have been added to the files causing the build errors.

The changes have been built successfully as an engine plugin using the Unreal Engine 5.2 Release.

JElbourne avatar May 18 '23 03:05 JElbourne

@JElbourne This has hardcoded local paths which is a no go and shouldn't be needed either?

https://github.com/sideeffects/HoudiniEngineForUnreal/blob/2e0c995fb7e33b3fb326e723fab9d27e98cfc85c/Source/HoudiniEngine/HoudiniEngine.Build.cs#L52

Edstub207 avatar Sep 11 '23 22:09 Edstub207