Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Audio Linker errors when building Wwise on iOS (only in Cloud Build)

Discussion in 'Audio & Video' started by francismoy, Jul 24, 2019.

  1. francismoy

    francismoy

    Joined:
    Jul 5, 2017
    Posts:
    46
    I have the latest version of the Wwise integration plugin (Wwise 2019.1.2.7018.1481) and I'm using Unity 2019.1.9f1.

    The thing is that the iOS build works perfectly when done locally: 1) export the Xcode project and 2) then opening the Xcode and building.

    However, when I try building using the Unity Build Cloud, it fails giving lots of linker errors, in the lines of:

    Undefined symbols for architecture armv7:
    "_CSharp_AkMusicSyncCallbackInfo_SWIGUpcast", referenced from:
    _AkSoundEnginePINVOKE_CSharp_AkMusicSyncCallbackInfo_SWIGUpcast_m4F9DCF8983DE83058C5FBCA9FD7B24D070A940D1 in Assembly-CSharp2.o
    (maybe you meant: _AkSoundEnginePINVOKE_CSharp_AkMusicSyncCallbackInfo_SWIGUpcast_m4F9DCF8983DE83058C5FBCA9FD7B24D070A940D1
    )
    "_CSharp_AkDynamicSequenceItemCallbackInfo_SWIGUpcast", referenced from:
    _AkSoundEnginePINVOKE_CSharp_AkDynamicSequenceItemCallbackInfo_SWIGUpcast_mF829AA7EF8391DDA4BAB5FF65256344BAC69216F in Assembly-CSharp2.o
    (maybe you meant: _AkSoundEnginePINVOKE_CSharp_AkDynamicSequenceItemCallbackInfo_SWIGUpcast_mF829AA7EF8391DDA4BAB5FF65256344BAC69216F
    )

    (A lot more continues)

    The Wwise plugin contains a lot of UNITY_EDITOR and UNITY_EDITOR_OSX platform directives, and as I've read in other posts (here, here and here), this seems to have been problematic for others as Unity Cloud defines UNITY_EDITOR and UNITY_EDITOR_OSX.

    I wonder whether this continues to be the case and could explain these linker errors. And if so, how can I fix it?
     
  2. wechat_os_Qy03OqlO1PvQtsoO4MLdPC5hA

    wechat_os_Qy03OqlO1PvQtsoO4MLdPC5hA

    Joined:
    Dec 26, 2018
    Posts:
    1

    Hello, I got the same errors as yours. Did the problem has resolved?
     
  3. francismoy

    francismoy

    Joined:
    Jul 5, 2017
    Posts:
    46
    Unfortunately I don't know, since I stopped using Cloud Build... Hopefully they solved this problem, but that needs to be answered by some Unity staff member.