sideeffects / HoudiniEngineForUnreal-v2

Houdini Engine Plugin for Unreal Engine 4 - Version 2
http://www.sidefx.com/unreal
Other
294 stars 75 forks source link

HoudiniEngineRuntimeUtils.h doesn't declare UPackage before using it #139

Open andrew-nocode opened 2 years ago

andrew-nocode commented 2 years ago

If part of a unity build it will compile successfully but on it's own HoudiniEngineRuntimeUtils.cpp can't compile because HoudiniEngineRuntimeUtils.h uses UPackage without declaring it, to fix add the following include - `

include "UObject/Package.h"

`

eliiik commented 2 years ago

I find this problem, too. Just add the include file to resolve the building problem.