EDIT: While building from source another Unreal Engine plugin (unrelated to Wwise), I had compilation errors after I used my proposed solution below.
This was blocking the build process for the other UE plugin, causing it to fail.
From the log messages, it also seemed as if the Wwise plugin wasn't being properly compiled for all platforms (e.g.: Android), which caused the compilation errors mentioned above.
In the end, I gave up installing Wwise 2023 as an engine plugin, and I installed Wwise as a game plugin in my UE project.
This fixed the plugin build errors mentioned above, and now I can use Wwise 2023 in my project without issues.
So, I don't recommend using my proposed solution below.
I had similar compilation errors, including the "Cannot open include file: 'WwiseObjectInfo.generated.h'" error mentioned in Alex V's answer.
I was getting these errors every time I tried to build my Unreal Engine project after installing Wwise Integration as an engine plugin. But I managed to fix the errors. :D
I'm using Wwise 2023.1.1.8417 and Unreal Engine 5.3.2.
My UE project started as a Blueprint-only project, but I eventually added C++ classes to it.
- First, following the installation guide from the Wwise documentation, I downloaded the Wwise Integration plugin. (Wwise Launcher -> Unreal Engine section -> Download -> "Wwise integration to use as an engine plugin")
- Then, I needed to add the Wwise and WwiseNiagara plugin folders to the "Engine\Plugins\Marketplace" folder instead of "Engine\Plugins", to fix another compilation error. ("Expecting to find a type to be declared in a module rules named ‘Wwise’ in UE5Rules")
https://forums.unrealengine.com/t/ue5-1-expecting-to-find-a-type-to-be-declared-in-a-module-rules-named/741811
- At this point, I still had compilation errors every time I tried to build my UE project, including the "Cannot open include file: 'WwiseObjectInfo.generated.h'" error.
So, I tried installing Wwise Integration as a game plugin in my UE project, to see if it would compile.
- I deleted the Wwise and WwiseNiagara folders from "Engine\Plugins\Marketplace".
- I followed the steps to install the Wwise Integration as a game plugin in my UE project. (Wwise Launcher -> Unreal Engine section -> "Integrate Wwise in Project")
- I regenerated my UE project's solution files. (Go to UE project folder -> right-click .uproject file -> "Generate Visual Studio project files")
- I built my UE project (using my IDE's "Rebuild Solution" option).
- With Wwise Integration installed as a game plugin, the build was successful. :)
- IMPORTANT: I moved the newly generated Wwise and WwiseNiagara plugin folders, from "MyUEProject\Plugins" to the "Engine\Plugins\Marketplace" folder.
- I regenerated my UE project's solution files again. (Go to UE project folder -> right-click .uproject file -> "Generate Visual Studio project files")
- I built my UE project again (using my IDE's "Rebuild Solution" option).
- The build was successful, and Wwise Integration is now installed as an engine plugin! :D
It seems there's a bug with the "Wwise integration to use as an engine plugin" download. I think there's some stuff missing there.