-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build Unreal Sample Project in UE 4.24 #28
Comments
It looks like neither Project Acoustics nor the Wwise plugin successfully built, per these
However, the reason they didn't build is absent from this log file. I do see that you edited this post -- your original version had a build log. If that's the real failure, it looks like "AddWwiseLib" got added somewhere improper. Can you check the bottom of AkAudio.Build.cs for any rogue AddWwiseLibs? For reference, they should all be together in one chunk. |
Thanks, It was added at the end, I put it into the chunk.
:-/ |
Great! Now it looks like you've run PatchWwise.bat twice, resulting in our modifications to some Wwise code files being applied twice. Look at the bottom of AkAudioDevice.h and AkAudioDevice.cpp and remove any duplicate code. Should be these two functions: Then, refer to #7 to resolve the remaining errors around Async<> |
Dear Mike, To not spam this issue with long, clunky code-blocks, here is a pastie. |
Did you install the Project Acoustics plugin to the new version of Wwise before integrating into UE? |
Hey Mike, Yes, I did. https://i.imgur.com/upalZ4U.jpg When I did the "clean slate" install, I made sure the Acoustics Plugin is installed in WWISE before integrating the WWISE project into the "freshly unpacked" Sample UE4 project. |
Weird... in your project's Plugins\Wwise\ThirdParty\include\AK\Plugin directory, do you see AcousticsWwise.h? |
Hey Mike, again thanks for sticking around and helping. No I did not have that file there. Then I completely removed the project & PA from WWISE, re-added PA into WWISE, re-integrated WWISE into the freshly unpacked project, fixed all the known bugs in config files before building for the first time and then this: Maybe I am blind but now I do not see any other edit-file related issues. https://privatebin.net/?267f8a726ae5ead8#8aJfeTswUVNTf4n5PcdmprFCHq7B8KdXuzPpje6ga91D I am not programmer, but it looks to me like ProjectAcoustic wants to talk to some stuff in UE but UE has renamed that stuff. Dunno, just random thought. :/ |
You're correct in your assumption. I believe the following should resolve the issue: In AcousticsProbesTab.cpp, line 25 reads
Replace this with
Then, on line 92 is a for loop that looks like this:
Replace this loop with the following:
After these changes, recompile and you should be good to go. |
Thank you! It finally works! Thank you for all the patience! |
That's great! Definitely let us know if there's anything else we can help with :) |
@MikeChemi To verify, the code changes were required because this is UE4.24, correct? If so, I am going to change title so others facing similar issue can use this solution. |
@nikunjragh correct! In this thread, we covered code changes required because of changes in both the latest version of Wwise and UE4.24. |
Thanks for reporting this bug. For our own bookkeeping, I'll note we're tracking this internally with ADO bug # 25192708. |
These fixes are included in version 2.0 #55 |
Hey guys,
I am back, since WWISE got updated to work with UE4.24.
I started with a clean slate and am getting stuck on building the project. This is the full log:
I am super greatful for any help. Last time I was trying to build with a WWISE version that didn't support 4.24 yet, but what could be the issue now?
Thanks a ton!
The text was updated successfully, but these errors were encountered: