fmod / fmod-for-unreal

FMOD Studio integration with Unreal.
https://fmod.com/resources/documentation-unreal
MIT License
202 stars 84 forks source link

Fix compilation for non-unity build #55

Closed ufna closed 3 years ago

ufna commented 3 years ago

You can test it with -StrictHeaders option for BuildPlugin or set bUseUnityBuild = false;

fmod-derek commented 3 years ago

Thanks for this - I couldn't reproduce a problem with building a non-unity build but we definitely should be including the PCH there so I'll merge this change to our code base. Internally this is done by modifying the 4.24 integration code for FMOD 2.00 and merging up to the other UE4 and FMOD versions we support so the change will be merged that way and then pushed to GitHub rather than directly merging this PR.