Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

+3 votes
expexted "akspatialaudiohelper.h" to be first header included

Have error while compiling UE5.1.1 project with wwise 2021.1.12 integration
in General Discussion by Andrzej M. (130 points)
I was able to work around this by moving the #include "AkUEFeatures.h" from AkSpatialAudioHelper.cpp to AkSpatialAudioHelper.h (at line 27 before the first use of UE_5_1_OR_LATER)
Same problem in Unreal 4.26. I get a total of three Errors when building.

PackagingResults: Error: Expected AkSpatialAudioHelper.h to be first header included.
PackagingResults: Error: DoesPackageExist: DoesPackageExist FAILED: '' is not a standard unreal filename or a long path name. Reason: Path should be no less than 4 characters long.
PackagingResults: Error: Unknown Cook Failure

Please sign-in or register to answer this question.

...