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.

0 votes
Hey, I was wondering if you could offer some advice;

With the 4.7 Integration, in our own project, when compiling in non Editor builds we receive this error;

Invalid reference to unparsed class: '/Script/AkAudio.AkAudioEvent'

When attempting to create UAkAudioEvent members in our classes. This is only for non editor builds.

In our Build.CS file I have the following set up;

if (UEBuildConfiguration.bCompileAudiokinetic == true)
{
             PublicIncludePathModuleNames.Add("AkAudio");
             PublicDependencyModuleNames.Add("AkAudio");
             PrivateDependencyModuleNames.Add("AkAudio");
             CircularlyReferencedDependentModules.Add("AkAudio");
}

in addition the editor build has

                DynamicallyLoadedModuleNames.Add("AudiokineticTools");
                DynamicallyLoadedModuleNames.Add("AkComponentVisualizers");

Are we missing something somewhere?

Cheers

David
in General Discussion by David B. (210 points)

1 Answer

0 votes
Was a linking order issue, you only need to add AkAudio to the PublicDependencyModuleNames but depending on where you add this it could change the linking order - this is missing form the integration documentation though....
by David B. (210 points)
...