コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

+1 支持

Hi, guys

I was following this guide to test out Audio Input integrated to newly created UE4 C++ project.  https://www.audiokinetic.com/fr/library/edge/?source=UE4&id=using_features_audioinput.html

All the steps in the guide were strictly followed, AkVoiceInputComponent.h and AkVoiceInputComponent.cpp are 99% (except for the xxx_API part) the same.   

When compiled, this error occurred:

Undefined symbols for architecture x86_64:
  "AkOcclusionObstructionService::UpdateObstructionOcclusion(TSet<UAkComponent*, DefaultKeyFuncs<UAkComponent*, false>, FDefaultSetAllocator> const&, FVector const&, AActor const*, AkRoomID, ECollisionChannel, float)", referenced from:
      UAkComponent::UpdateOcclusionObstruction() in AkVoiceInputComponent.cpp.o

the source structure, Wwise was integrated into the ue4 project other than the engine:

├── Plugins
│   └── Wwise
│       ├── Binaries
│       ├── Content
│       ├── Intermediate
│       ├── LauncherInfo.json
│       ├── Resources
│       ├── Source
│       ├── ThirdParty
│       ├── Wwise.uplugin
│       ├── Wwise_UE4_Integration.chm
│       ├── Wwise_UE4_Integration_ja.chm
│       ├── Wwise_UE4_Integration_ko.chm
│       └── Wwise_UE4_Integration_zh.chm
├── Source
│   ├── WwiseDemo
│   │   ├── AkVoiceInputComponent.cpp
│   │   ├── AkVoiceInputComponent.h
│   │   ├── WwiseDemo.Build.cs
│   │   ├── WwiseDemo.cpp
│   │   ├── WwiseDemo.h
│   │   ├── WwiseDemoCharacter.cpp
│   │   ├── WwiseDemoCharacter.h
│   │   ├── WwiseDemoGameMode.cpp
│   │   └── WwiseDemoGameMode.h
│   ├── WwiseDemo.Target.cs
│   └── WwiseDemoEditor.Target.cs
├── WwiseDemo.sln
├── WwiseDemo.uproject

Dependency checked added:

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "HeadMountedDisplay", "AkAudio", "Voice" });

Plugin also enabled in uproject:

{
    "FileVersion": 3,
    "EngineAssociation": "{xxxxxxxxxxxxx}",
    "Category": "",
    "Description": "",
    "Modules": [
        {
            "Name": "WwiseDemo",
            "Type": "Runtime",
            "LoadingPhase": "Default"
        }
    ],
    "Plugins": [
        {
            "Name": "Wwise",
            "Enabled": true
        }
    ]
}

Platform: Mac 

Configuration: Development Editor

Wwise Version: 2021.1.5..7749.2171

 

What's worth mentioning is that the symbol not found link error only occurs on Mac platform.

While moving the exact same UE4 project to windows platform. everything compiles nicely.

 

Any idea what's went wrong and how to fix it?

Thanks in advance!

 

Best Regards.

 

 

 

 

J X. (140 ポイント) General Discussion
The same problem occurred to me. Have you solved this problem?
Yep
find this file Wwise/Source/AkAudio/Classes/OcclusionObstructionService/AkOcclusionObstructionService.h

and modify this line
class AkOcclusionObstructionService
to
class AKAUDIO_API AkOcclusionObstructionService

that's it

Please sign-in or register to answer this question.

...