커뮤니티 Q&A

Audiokinetic의 커뮤니티 Q&A 포럼에 오신 것을 환영합니다. 이 포럼은 Wwise와 Strata 사용자들이 서로 도움을 주는 곳입니다. Audiokinetic의 직접적인 도움을 얻으려면 지원 티켓 페이지를 사용하세요. 버그를 보고하려면 Audiokinetic 런처에서 Bug Report 옵션을 사용하세요. (Q&A 포럼에 제출된 버그 보고는 거절됩니다. 전용 Bug Report 시스템을 사용하면 보고 내용이 담당자에게 정확히 전달되어 문제 해결 가능성이 크게 높아집니다.)<segment 6493>

빠르고 정확한 답변을 얻으려면 질문을 올릴 때 다음 팁을 참고하세요.

  • 구체적인 내용을 적어주세요: 무엇을 하려는지, 혹은 어떤 특정 문제에 부딪혔는지 설명하세요.
  • 핵심 정보를 포함하세요: Wwise와 게임 엔진 버전, 운영체제 등 관련 정보를 함께 제공하세요.
  • 시도한 방법들을 알려주세요: 문제 해결을 위해 이미 어떤 단계를 시도해봤는지 설명해주세요.
  • 객관적인 사실에 초점을 맞추세요: 문제의 기술적 사실을 중심으로 설명하세요. 문제에 집중할수록 다른 사람들이 더 빠르게 해결책을 찾을 수 있습니다.

0 투표
Hi,

We are seeing that AkReverbVolumes are not working in our custom game prototype (based on UE4 ShooterGame) and we are running UE4.4.2, WWise 4.4 Integration, and WWise v2013.2.9 (64-bit).  AkReverbVolumes do work in the ReverbDemo.umap for us.  Normal AKSounds and PostEvent are working for us so we know that the soundbanks are being properly generated.  We know that WWise is being properly initialized by seeing the line "LogInit: Audiokinetic Audio Device initialized.".  We also have initialized the iZotope and Convolution Reverb plugins (and have valid licenses for those plug-ins).

In our own WWise project we have mirrored the bus setup of the ReverbDemo project to include a Reverb bus under "Master-Mixer Hierarchy" -> "Default Work Unit" -> "Master Audio Bus" -> "Reverb".  This reverb bus has one simple iZotope Hybrid Reverb effect of "Auditorium (Custom)".  

We set up a looping ambient sound in the level and then we drag an AkReverbVolume on top of it with box brush size (2000, 2000, 2000).  We make sure the 'Enabled' checkbox is checked, the AuxBusName is 'Reverb', Send Level is 1, Fade Rate is 0.5, and Priority is 10000.  There are no other overlapping volumes in that space.  

When we regenerate the soundbanks and preview the level, we are able to hear the looping ambient sound but the AkReverbVolume does not affect it even though the sound is clearly within the bounds of the reverb volume.  The ambient sound is placed via Unreal, we also have sounds attached to a pawn that are posted by WWise and those sounds are not affected by reverb either. There are no logs or errors messages printed out anywhere.  

Can you advise on what we should check next to get reverb working?

Thanks!
General Discussion Tom W. (180 포인트) 로 부터

2 답변

0 투표

Did you try connecting the profiler to your game?  

  • Start your level
  • Click the Remote button in Wwise (toolbar)
  • Connect to the game
  • Press F6 (Profiler Layout)
  • Look at the Advanced Profiler tabs
Bernard R. (Audiokinetic) (35.8k 포인트) 로 부터
0 투표
There actually was a bug up until last week with the 4.4 (and less) integration with Ambient Sounds and Reverb Volumes, see https://www.audiokinetic.com/qa/607/how-do-i-enable-reverb-for-an-ambient-sound-in-ue4 .

The fix was pushed to GitHub last Thursday, so you will want to make sure you get the latest revision from GitHub.
Benoit S. (Audiokinetic) (16.0k 포인트) 로 부터
Hi Bernard,

I did try connecting the profiler to my game but the profiler hangs on a dialog that says 'Connecting to 127.0.0.1'.  I am running the editor on the same machine as the WWise Editor so 127.0.0.1 is the correct IP address.  I have also tried the actual machine IP address and that doesn't work either.
UE4 reports 'Soundframe successfully initialized' when WWise starts the remote profile but that 'connecting' dialog never goes away.

I have made sure that the port set in WWise matches the AK::Init() port in UE4 and that Windows Firewall is off, remote profiling still doesn't work.

I have already integrated the latest GitHub 4.4 release from last Thursday and that didn't fix the ambient sound and reverb volume issue for me.

Is there any additional information I can provide to help troubleshoot?
There is a known issue on some machines that we are having a hard time tracking, where exiting Unreal will create a "phantom" process holding on to the necessary network socket, and preventing you from reconnecting to your game.

The workaround is to log out and log back in. You should then be able to connect Wwise to the Unreal Editor, as long as you don't quit the Editor. This should allow you to profile your game.

Also, just to make sure, In Wwise, have you checked the "Use game-defined auxiliary sends" checkbox on your ambient sound?
Hi Benoit and Bernard,

You guys actually nailed the issue, I didn't have 'Use game-defined auxiliary sends' checked on the sounds we were using.  That seems to be working now, but I've run into another issue specifically on convolution reverb.

Every time we try and add convolution reverb, we're getting the error:

LogAkAudio:Error: Plug-in media unavailable

We've got the convolution reverb effect in a bank that's building in Unreal, and when I check the profiler, it appears as though that bank is properly loaded.  Any idea what could be causing the game to be unable to locate and use convolution effect media?

Thanks for your help, we're super close :)
Hi Benoit,

You are correct - we didn't have the 'Use game-defined auxiliary sends' checkbox set on our sounds and this is the reason why those sounds were not being directed to the reverb bus.

Also, we are using the logout workaround for the profiler and that seems to be working for us too.  We can now see the sounds going to the reverb bus in the remote profiler.

The last problem we are running into is an error "LogAkAudio:Error: Plug-in media unavailable" when we put a Convolution Reverb or Altiverb IR effect on that sound.  Standard reverb works for us without error.

We have followed the steps in the UE4 documentation and WWise SDK 'Initialize Different Modules of Sound Engine' documentation to enable Convolution Reverb.

#1:  Input a WWise Level C trial license key that includes all WWise plug-ins.  We are able to preview Convolution Reverb and Altiverb effects within the WWise Designer.

#2:  Linking the plug-in libraries.
We added the following line to Audiokinetic.build.cs:
     AddWwiseLib(Target, "AkConvolutionReverbFX", akPlatformLibPath);

#3:  Registering the plug-in within EnsureInitialized() in AkAudioDevice.cpp:
     AK::SoundEngine::RegisterAllBuiltInPlugins();
     AK::SoundEngine::RegisterConvolutionReverbPlugin();

#4:  Regenerate all sound banks.

I can't find any documentation about this specific error message, could advise?

Thanks for all the help, much appreciated!
...