커뮤니티 Q&A

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

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

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

+3 투표
Hi,

We get a crash in Unity on 5.3; it's only started after we integrated WWise.  Log below:

Unity Editor [version: Unity 5.3.0f4_2524e04062b4]

XAudio2_7.dll caused a Breakpoint (0x80000003)
  in module XAudio2_7.dll at 0033:b4bab72c.

Error occurred at 2015-12-16_184304.
C:\Program Files\Unity\Editor\Unity.exe, run by Matt.
22% memory in use.
32686 MB physical memory [25310 MB free].
37550 MB paging file [29278 MB free].
134217728 MB user address space [134215940 MB free].

Context:
RDI:    0x00000000  RSI: 0x27eefd08  RAX:   0xffdf6000
RBX:    0x27ce8f98  RCX: 0xd8450000  RDX:   0x00000000
RIP:    0xb4bab72c  RBP: 0x27eefcc0  SegCs: 0x00000033
EFlags: 0x00000246  RSP: 0x27eefc40  SegSs: 0x0000002b
R8:    0x27eef7c8  R9: 0x27eef7f0  R10:   0x00000000
R11:    0x27eefc10  R12: 0x00000000  R13:   0x00000000
R14:    0x00000000  R15: 0x00000000

Bytes at CS:EIP:
cc 4c 8b 03 4d 85 c0 74 07 49 8b 40 08 48 89 03

Stack:
0x27eefc40: 00000000 00000000 27ce8f98 00000000 ...........'....
0x27eefc50: 27eefd08 00000000 00000000 00000000 ...'............
0x27eefc60: 27ce8e80 00000000 b4baadf3 00007fff ...'............
0x27eefc70: 00000000 00000000 27eefcc0 00000000 ...........'....
0x27eefc80: 27eefd08 00000000 00000000 00000000 ...'............
0x27eefc90: 2795aae0 00000000 00000000 00000000 ...'............
0x27eefca0: 00000000 00002000 00000000 00002000 ..... ....... ..
0x27eefcb0: 00000000 00000000 00000000 00000000 ................
0x27eefcc0: 000001e0 00000000 9c19a608 00007fff ................
0x27eefcd0: 2794aa20 00000000 000001e0 00000000  ..'............
0x27eefce0: 00000000 00000000 00000000 00000000 ................
0x27eefcf0: 00000000 00000000 00000040 00003c00 ........@....<..
0x27eefd00: 00000000 00000000 00000000 00002000 ............. ..
0x27eefd10: 2795aae0 00000000 00000000 00000000 ...'............
0x27eefd20: 00000000 00000000 00000000 00000000 ................
0x27eefd30: 00000000 00000000 00000000 00000000 ................
0x27eefd40: 27ce9a90 00000000 b4bab14b 00007fff ...'....K.......
0x27eefd50: 27ce3f50 00000000 27eefdf8 00000000 P?.'.......'....
0x27eefd60: 00000000 00000000 9e05e0b0 00007fff ................
0x27eefd70: 00000000 00000000 b4bb6760 00007fff ........`g......
0x27eefd80: ffffffff 00000000 b4ba7a4f 00007fff ........Oz......
0x27eefd90: 00000000 00000000 00000372 00000000 ........r.......
0x27eefda0: 00000000 00000000 000001b9 00000000 ................
0x27eefdb0: 00000000 00000000 b4bb4a30 00007fff ........0J......
0x27eefdc0: 00000000 00000000 1f6f0b10 00000000 ..........o.....
0x27eefdd0: 00000000 00000000 00000000 00000000 ................
0x27eefde0: 27ce1498 00000000 b4bb2710 00007fff ...'.....'......
0x27eefdf0: 27ce1060 00000000 27eefef0 00000000 `..'.......'....
0x27eefe00: 00000f10 00000000 00001630 00000000 ........0.......
0x27eefe10: 00000000 00000860 000001b9 00000000 ....`...........
0x27eefe20: b03d0d9a 00000417 b03d0d9a 00000417 ..=.......=.....
0x27eefe30: b03c751a 00000417 00000000 00000000 .u<.............
0x27eefe40: 00000094 0000000a 00000000 00002800 .............(..
0x27eefe50: 00000002 00000000 00000000 00000000 ................
0x27eefe60: 00000000 00000000 00000000 00000000 ................
0x27eefe70: 00000000 00000000 00000000 00000000 ................
0x27eefe80: 00000000 00000000 00000000 00000000 ................
0x27eefe90: 00000000 00000000 00000000 00000000 ................
0x27eefea0: 00000000 00000000 00000000 00000000 ................
0x27eefeb0: 00000000 00000000 00000000 00000000 ................
0x27eefec0: 00000000 00000000 00000000 00000000 ................
0x27eefed0: 00000000 00000000 00000000 00000000 ................
0x27eefee0: af046319 000033f2 b9c9903e 00007fff .c...3..>.......
0x27eefef0: 00000000 00000000 00000000 00000000 ................
0x27eeff00: 00000000 00000000 00000000 00000000 ................
0x27eeff10: 00000000 00000000 00000000 00000000 ................
0x27eeff20: 00000000 00000000 b4bb2b8a 00007fff .........+......
0x27eeff30: 00000000 00000000 27ce1060 00000000 ........`..'....
0x27eeff40: 27ce1060 00000000 27ce1060 00000000 `..'....`..'....
0x27eeff50: 27ce1060 00000000 ba1e2d92 00007fff `..'.....-......
0x27eeff60: b4bb2b48 00007fff 00000000 00000000 H+..............
0x27eeff70: 00000000 00000000 00000000 00000000 ................
0x27eeff80: b4bb2b48 00007fff bca49f64 00007fff H+......d.......
0x27eeff90: ba1e2d70 00007fff 00000000 00000000 p-..............
0x27eeffa0: 00000000 00000000 00000000 00000000 ................
0x27eeffb0: 00000000 00000000 b9cc0180 00007fff ................
0x27eeffc0: 27eeecd0 00000000 27eeecd0 00000000 ...'.......'....
0x27eeffd0: 00000000 00000000 00000000 00000000 ................
0x27eeffe0: 00000000 00000000 00000000 00000000 ................
0x27eefff0: 00000000 00000000 00000000 00000000 ................

Module 1
C:\Windows\SYSTEM32\WINMMBASE.dll
Image Base: 0x00b20000  Image Size: 0x0002c000
File Size:  166352      File Time:  2015-07-10_200006
Version:
   Company:    Microsoft Corporation
   Product:    Microsoft® Windows® Operating System
   FileDesc:   Base Multimedia Extension API DLL
   FileVer:    10.0.10240.16384
   ProdVer:    10.0.10240.16384

Module 2
C:\Windows\SYSTEM32\xinput1_3.dll
Image Base: 0x00400000  Image Size: 0x0001e000
File Size:  107368      File Time:  2007-04-04_185422
Version:
   Company:    Microsoft Corporation
   Product:    Microsoft® DirectX for Windows®
   FileDesc:   Microsoft Common Controller API
   FileVer:    9.18.944.0
   ProdVer:    9.18.944.0

Module 3
C:\Program Files\Bonjour\mdnsNSP.dll
Image Base: 0x632e0000  Image Size: 0x00026000
File Size:  133392      File Time:  2015-08-12_160342
Version:
   Company:    Apple Inc.
   Product:    Bonjour
   FileDesc:   Bonjour Namespace Provider
   FileVer:    3.1.0.1
   ProdVer:    3.1.0.1

Module 4
C:\Windows\SYSTEM32\MSVCR100.dll
Image Base: 0x63310000  Image Size: 0x000d2000
File Size:  829264      File Time:  2011-06-11_011538
Version:
   Company:    Microsoft Corporation
   Product:    Microsoft® Visual Studio® 2010
   FileDesc:   Microsoft® C Runtime Library
   FileVer:    10.0.40219.325
   ProdVer:    10.0.40219.325

Module 5
C:\Windows\SYSTEM32\MSVCP100.dll
Image Base: 0x633f0000  Image Size: 0x00098000
File Size:  608080      File Time:  2011-06-11_011538
Version:
   Company:    Microsoft Corporation
   Product:    Microsoft® Visual Studio® 2010
   FileDesc:   Microsoft® C Runtime Library
   FileVer:    10.0.40219.325
   ProdVer:    10.0.40219.325

== [end of error.log] ==
General Discussion Thomas L. (170 포인트) 로 부터
I'm experiencing the same problem, roughly every other attempt to run the game:

Unity Editor [version: Unity 5.3.1f1_cc9cbbcc37b4]

XAudio2_7.dll caused a Breakpoint (0x80000003)
  in module XAudio2_7.dll at 0033:0b72b72c.

I don't know who is to blame for that - Wwise or Unity?
I'm also getting this crash - is there any more information available on this problem? I'm inclined to blame Unity 5.3, since it has other stability problems and I wasn't getting this crash in Unity 5.2.

Unity Editor [version: Unity 5.3.1f1_cc9cbbcc37b4]

XAudio2_7.dll caused a Breakpoint (0x80000003)
  in module XAudio2_7.dll at 0033:6254b72c.

Also, I found XAudio2_7.pdb, so here's the stack trace:
XAudio2_7.dll!CPointerList<void,1,64,0>::AddTail(void *)    Unknown
XAudio2_7.dll!XAUDIO2::CX2SourceVoice::SubmitSourceBuffer(struct XAUDIO2_BUFFER const *,struct XAUDIO2_BUFFER_WMA const *)    Unknown
AkSoundEngine.dll!00007ff95533a608()    Unknown
[External Code]

This appears to happen just after print this: "SimpList: non-growable list ran out of room for new elements"
You can safely remove XAudio2_7.dll from System32 and be happy with getting rid of this crash (other Unity 5.3 crashes will still be there).

1 답변

+2 투표
 
우수 답변

Hi,

I was able to reproduce this crash by doing the following in the Unity editor:

  1. Press "Play" in the editor
  2. Press "Pause"
  3. Press "Play" to stop the game
  4. Press "Play" again. The editor will crash.
We will have a fix for that in the next version (2015.1.5). We do not recommend deleting the XAudio dll from your system32 folder, as it might interfere with other programs.
 
While waiting for a fix, a workaroud is possible. In AkInitializer.cs, add the following lines right after initSettings.uDefaultPoolSize = (uint)defaultPoolSize * 1024;
#if UNITY_STANDALONE_WIN
        initSettings.eMainOutputType = AkAudioAPI.AkAPI_Wasapi;
#endif
 
Benoit S. (Audiokinetic) (16.0k 포인트) 로 부터
선택됨 Thomas L. 로 부터
Thank you for the update and for providing a workaround! I've integrated it and will let you know if I get the crash again. Can you give an ETA for 2015.1.15?
Unfortunately I'm still getting the same crash sometimes, even with the workaround. Is there any new information on this bug or the new version?
This crash might be unrelated. Can you post the crash log when it happens? Thanks!
I just got the crash again recently, here's the log (it looks identical to last time unfortunately):

Unity Editor [version: Unity 5.3.1f1_cc9cbbcc37b4]

xaudio2_7.dll caused a Breakpoint (0x80000003)
  in module xaudio2_7.dll at 0033:fcfab72c.

And here's the stack trace from the minidump with the XAudio2.7 pdb from the June 2010 DirectX SDK:

xaudio2_7.dll!CPointerList<void,1,64,0>::AddTail(void *)    Unknown
xaudio2_7.dll!XAUDIO2::CX2SourceVoice::SubmitSourceBuffer(struct XAUDIO2_BUFFER const *,struct XAUDIO2_BUFFER_WMA const *)    Unknown
AkSoundEngine.dll!00007ff8e672a608()    Unknown


This is with the patch that you mentioned earlier. It happens much less frequently, so that's good at least! And I've just upgraded to Unity 5.3.2 and haven't noticed the crash yet, but I'll let you know if I do.
We are seeing this same crash with Unity 5.4.0f3. We are still using Wwise 2015.1.2 IIRC because it is what the TBE 3Dception dudes ship with. When I try your work around above it seems fine locally on my windows box. However, when our OSX system on travis-ci.com tries to build there are compile errors (despite telling unity we are -buildTarget win64). Any ideas or suggestions?

Assets/Wwise/Deployment/Components/AkInitializer.cs(106,51): error CS0117: `AkAudioAPI' does not contain a definition for `AkAPI_Wasapi'
Assets/Wwise/Deployment/API/Generated/Mac/AkAudioAPI_Mac.cs(11,13): (Location of the symbol related to previous error)
...