コミュニティQ&A

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

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

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

0 支持

I'm downloaded teh 2015.1 Unity 5 integration, import the assets and get these error messages:

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorAlignedSimd.cs(51,42): error CS1502: The best overloaded method match for `AkArrayAllocatorAlignedSimd.AkArrayAllocatorAlignedSimd(System.IntPtr, bool)' has some invalid arguments

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorAlignedSimd.cs(51,68): error CS0117: `AkSoundEnginePINVOKE' does not contain a definition for `CSharp_new_AkArrayAllocatorAlignedSimd'

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorAlignedSimd.cs(51,42): error CS1503: Argument `#1' cannot convert `object' expression to type `System.IntPtr'

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorDefault.cs(51,64): error CS0117: `AkSoundEnginePINVOKE' does not contain a definition for `CSharp_new_AkArrayAllocatorDefault'

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorDefault.cs(51,38): error CS1502: The best overloaded method match for `AkArrayAllocatorDefault.AkArrayAllocatorDefault(System.IntPtr, bool)' has some invalid arguments

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorDefault.cs(51,38): error CS1503: Argument `#1' cannot convert `object' expression to type `System.IntPtr'

Assets/Wwise/Deployment/API/Generated/Common/AkVolumeOffset.cs(64,55): error CS0117: `AkSoundEnginePINVOKE' does not contain a definition for `CSharp_new_AkVolumeOffset'

Assets/Wwise/Deployment/API/Generated/Common/AkVolumeOffset.cs(64,29): error CS1502: The best overloaded method match for `AkVolumeOffset.AkVolumeOffset(System.IntPtr, bool)' has some invalid arguments

Assets/Wwise/Deployment/API/Generated/Common/AkVolumeOffset.cs(64,29): error CS1503: Argument `#1' cannot convert `object' expression to type `System.IntPtr'

Assets/Wwise/Deployment/API/Generated/Common/ArrayPoolDefault.cs(50,57): error CS0117: `AkSoundEnginePINVOKE' does not contain a definition for `CSharp_new_ArrayPoolDefault'

Assets/Wwise/Deployment/API/Generated/Common/ArrayPoolDefault.cs(50,31): error CS1502: The best overloaded method match for `ArrayPoolDefault.ArrayPoolDefault(System.IntPtr, bool)' has some invalid arguments

Assets/Wwise/Deployment/API/Generated/Common/ArrayPoolDefault.cs(50,31): error CS1503: Argument `#1' cannot convert `object' expression to type `System.IntPtr'

Assets/Wwise/Deployment/API/Generated/Common/ArrayPoolLEngineDefault.cs(50,72): error CS0117: `AkSoundEnginePINVOKE' does not contain a definition for `CSharp_new_ArrayPoolLEngineDefault'

Assets/Wwise/Deployment/API/Generated/Common/ArrayPoolLEngineDefault.cs(50,38): error CS1502: The best overloaded method match for `ArrayPoolLEngineDefault.ArrayPoolLEngineDefault(System.IntPtr, bool)' has some invalid arguments

Assets/Wwise/Deployment/API/Generated/Common/ArrayPoolLEngineDefault.cs(50,38): error CS1503: Argument `#1' cannot convert `object' expression to type `System.IntPtr'

Assets/Wwise/Deployment/API/Generated/Windows/AkSpeakerVolumes_Windows.cs(124,57): error CS0117: `AkSoundEnginePINVOKE' does not contain a definition for `CSharp_new_AkSpeakerVolumes'

Assets/Wwise/Deployment/API/Generated/Windows/AkSpeakerVolumes_Windows.cs(124,31): error CS1502: The best overloaded method match for `AkSpeakerVolumes.AkSpeakerVolumes(System.IntPtr, bool)' has some invalid arguments

Assets/Wwise/Deployment/API/Generated/Windows/AkSpeakerVolumes_Windows.cs(124,31): error CS1503: Argument `#1' cannot convert `object' expression to type `System.IntPtr'

 

 

2013.2.9 working

 

 

 

Vass E. (100 ポイント) General Discussion

回答 1

0 支持

From what I understand, you are trying to migrate an existing Unity project from 2013.2.9 to 2015.1? If this is the case, you should follow these steps:

  1. Make a backup of your existing Unity project
  2. Import WwiseUnityIntegration_v2015.1_Windows.unitypackage (or Mac, if you are using one) to your Unity project.
  3. When the migration window appears, click "Start"
  4. Wait for the "Migration completed successfully" message to appear in the console window
I just tried the steps starting from a project using 2013.2.9, and it works correctly.
 
Are you updating from an even older Wwise version?
Benoit S. (Audiokinetic) (16.0k ポイント)
Hi

I'm migrate 2013.2.5 (SDK version in AkWwiseSDKVersion.h)

In the old version i found these functions in AkSoundEnginePINVOKE_Windows.cs:
#if AK_ARCH_WINDOWS_WIN32
  [DllImport("AkSoundEngine_Win32", EntryPoint="CSharp_new_AkArrayAllocatorAlignedSimd")]
#elif AK_ARCH_WINDOWS_X64
  [DllImport("AkSoundEngine_x64", EntryPoint="CSharp_new_AkArrayAllocatorAlignedSimd")]
#else
  [DllImport("AkSoundEngine_Win32", EntryPoint="CSharp_new_AkArrayAllocatorAlignedSimd")]
#endif
  public static extern IntPtr CSharp_new_AkArrayAllocatorAlignedSimd();


but, when i updated to the 2015.1, and search these text: "CSharp_new_AkArrayAllocatorAlignedSimd", not found!

I modified the AkSoundEnginePINVOKE_Windows.cs and add the correct dll definitions, the project successfully built and running, but i get error message from wwise project manager app (gameobject not registered), but it is an other problem :)

i try again, and write  the result!
I make your steps, but get same result:


-----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp.dll

Compilation failed: 18 error(s), 0 warnings

-----CompilerOutput:-stderr----------

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorAlignedSimd.cs(51,68): error CS0117: `AkSoundEnginePINVOKE' does not contain a definition for `CSharp_new_AkArrayAllocatorAlignedSimd'

Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEnginePINVOKE_Windows.cs(14,7): (Location of the symbol related to previous error)

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorAlignedSimd.cs(51,42): error CS1502: The best overloaded method match for `AkArrayAllocatorAlignedSimd.AkArrayAllocatorAlignedSimd(System.IntPtr, bool)' has some invalid arguments

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorAlignedSimd.cs(18,12): (Location of the symbol related to previous error)

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorAlignedSimd.cs(51,42): error CS1503: Argument `#1' cannot convert `object' expression to type `System.IntPtr'

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorDefault.cs(51,64): error CS0117: `AkSoundEnginePINVOKE' does not contain a definition for `CSharp_new_AkArrayAllocatorDefault'

Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEnginePINVOKE_Windows.cs(14,7): (Location of the symbol related to previous error)

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorDefault.cs(51,38): error CS1502: The best overloaded method match for `AkArrayAllocatorDefault.AkArrayAllocatorDefault(System.IntPtr, bool)' has some invalid arguments

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorDefault.cs(18,12): (Location of the symbol related to previous error)

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorDefault.cs(51,38): error CS1503: Argument `#1' cannot convert `object' expression to type `System.IntPtr'

Assets/Wwise/Deployment/API/Generated/Common/AkVolumeOffset.cs(64,55): error CS0117: `AkSoundEnginePINVOKE' does not contain a definition for `CSharp_new_AkVolumeOffset'

Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEnginePINVOKE_Windows.cs(14,7): (Location of the symbol related to previous error)

Assets/Wwise/Deployment/API/Generated/Common/AkVolumeOffset.cs(64,29): error CS1502: The best overloaded method match for `AkVolumeOffset.AkVolumeOffset(System.IntPtr, bool)' has some invalid arguments

Assets/Wwise/Deployment/API/Generated/Common/AkVolumeOffset.cs(18,12): (Location of the symbol related to previous error)

Assets/Wwise/Deployment/API/Generated/Common/AkVolumeOffset.cs(64,29): error CS1503: Argument `#1' cannot convert `object' expression to type `System.IntPtr'

Assets/Wwise/Deployment/API/Generated/Common/ArrayPoolDefault.cs(50,57): error CS0117: `AkSoundEnginePINVOKE' does not contain a definition for `CSharp_new_ArrayPoolDefault'

Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEnginePINVOKE_Windows.cs(14,7): (Location of the symbol related to previous error)

Assets/Wwise/Deployment/API/Generated/Common/ArrayPoolDefault.cs(50,31): error CS1502: The best overloaded method match for `ArrayPoolDefault.ArrayPoolDefault(System.IntPtr, bool)' has some invalid arguments

Assets/Wwise/Deployment/API/Generated/Common/ArrayPoolDefault.cs(18,12): (Location of the symbol related to previous error)

Assets/Wwise/Deployment/API/Generated/Common/ArrayPoolDefault.cs(50,31): error CS1503: Argument `#1' cannot convert `object' expression to type `System.IntPtr'

Assets/Wwise/Deployment/API/Generated/Common/ArrayPoolLEngineDefault.cs(50,64): error CS0117: `AkSoundEnginePINVOKE' does not contain a definition for `CSharp_new_ArrayPoolLEngineDefault'

Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEnginePINVOKE_Windows.cs(14,7): (Location of the symbol related to previous error)

Assets/Wwise/Deployment/API/Generated/Common/ArrayPoolLEngineDefault.cs(50,38): error CS1502: The best overloaded method match for `ArrayPoolLEngineDefault.ArrayPoolLEngineDefault(System.IntPtr, bool)' has some invalid arguments

Assets/Wwise/Deployment/API/Generated/Common/ArrayPoolLEngineDefault.cs(18,12): (Location of the symbol related to previous error)

Assets/Wwise/Deployment/API/Generated/Common/ArrayPoolLEngineDefault.cs(50,38): error CS1503: Argument `#1' cannot convert `object' expression to type `System.IntPtr'

Assets/Wwise/Deployment/API/Generated/Windows/AkSpeakerVolumes_Windows.cs(124,57): error CS0117: `AkSoundEnginePINVOKE' does not contain a definition for `CSharp_new_AkSpeakerVolumes'

Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEnginePINVOKE_Windows.cs(14,7): (Location of the symbol related to previous error)

Assets/Wwise/Deployment/API/Generated/Windows/AkSpeakerVolumes_Windows.cs(124,31): error CS1502: The best overloaded method match for `AkSpeakerVolumes.AkSpeakerVolumes(System.IntPtr, bool)' has some invalid arguments

Assets/Wwise/Deployment/API/Generated/Windows/AkSpeakerVolumes_Windows.cs(18,12): (Location of the symbol related to previous error)

Assets/Wwise/Deployment/API/Generated/Windows/AkSpeakerVolumes_Windows.cs(124,31): error CS1503: Argument `#1' cannot convert `object' expression to type `System.IntPtr'

-----EndCompilerOutput---------------

- Finished compile Library/ScriptAssemblies/Assembly-CSharp.dll
Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorAlignedSimd.cs(51,68): error CS0117: `AkSoundEnginePINVOKE' does not contain a definition for `CSharp_new_AkArrayAllocatorAlignedSimd'
 
(Filename: Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorAlignedSimd.cs Line: 51)

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorAlignedSimd.cs(51,42): error CS1502: The best overloaded method match for `AkArrayAllocatorAlignedSimd.AkArrayAllocatorAlignedSimd(System.IntPtr, bool)' has some invalid arguments
 
(Filename: Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorAlignedSimd.cs Line: 51)

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorAlignedSimd.cs(51,42): error CS1503: Argument `#1' cannot convert `object' expression to type `System.IntPtr'
 
(Filename: Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorAlignedSimd.cs Line: 51)

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorDefault.cs(51,64): error CS0117: `AkSoundEnginePINVOKE' does not contain a definition for `CSharp_new_AkArrayAllocatorDefault'
 
(Filename: Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorDefault.cs Line: 51)

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorDefault.cs(51,38): error CS1502: The best overloaded method match for `AkArrayAllocatorDefault.AkArrayAllocatorDefault(System.IntPtr, bool)' has some invalid arguments
 
(Filename: Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorDefault.cs Line: 51)

Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorDefault.cs(51,38): error CS1503: Argument `#1' cannot convert `object' expression to type `System.IntPtr'
 
(Filename: Assets/Wwise/Deployment/API/Generated/Common/AkArrayAllocatorDefault.cs Line: 51)

Assets/Wwise/Deployment/API/Generated/Common/AkVolumeOffset.cs(64,55): error CS0117: `AkSoundEnginePINVOKE' does not contain a definition for `CSharp_new_AkVolumeOffset'
 
(Filename: Assets/Wwise/Deployment/API/Generated/Common/AkVolumeOffset.cs Line: 64)

Assets/Wwise/Deployment/API/Generated/Common/AkVolumeOffset.cs(64,29): error CS1502: The best overloaded method match for `AkVolumeOffset.AkVolumeOffset(System.IntPtr, bool)' has some invalid arguments
 
(Filename: Assets/Wwise/Deployment/API/Generated/Common/AkVolumeOffset.cs Line: 64)

Assets/Wwise/Deployment/API/Generated/Common/AkVolumeOffset.cs(64,29): error CS1503: Argument `#1' cannot convert `object' expression to type `System.IntPtr'
 
(Filename: Assets/Wwise/Deployment/API/Generated/Common/AkVolumeOffset.cs Line: 64)

....
I tried the new version: WwiseUnityIntegration_v2015.1.1_Windows.unitypackage
but get same errors :(

I try to install plugin:
Wwise: Failed to copy. Source is missing: D:/work/mygame/game/Assets\Wwise\Deployment\Plugins\Windows\x64\Profile.
UnityEngine.Debug:LogError(Object)
AkUnityAssetsInstaller:RecursiveCopyDirectory(DirectoryInfo, DirectoryInfo, String[]) (at Assets/Wwise/Editor/WwiseMenu/Common/AkUnityPluginInstallerBase.cs:118)
AkUnityPluginInstallerBase:InstallPluginByArchConfig(String, String) (at Assets/Wwise/Editor/WwiseMenu/Common/AkUnityPluginInstallerBase.cs:215)
AkWwiseMenu_Windows:InstallPlugin_x64_Profile() (at Assets/Wwise/Editor/WwiseMenu/Windows/AkWwiseMenu_Windows.cs:36)

Failed to install plugin for Windows (x64, Profile) from D:/work/mygame/game/Assets\Wwise\Deployment\Plugins\Windows\x64\Profile to D:/work/mygame/game/Assets\Plugins.
UnityEngine.Debug:LogError(Object)
AkUnityPluginInstallerBase:InstallPluginByArchConfig(String, String) (at Assets/Wwise/Editor/WwiseMenu/Common/AkUnityPluginInstallerBase.cs:218)
AkWwiseMenu_Windows:InstallPlugin_x64_Profile() (at Assets/Wwise/Editor/WwiseMenu/Windows/AkWwiseMenu_Windows.cs:36)
This error should be harmless. It usually means Unity failed to copy the AkSoundEngine.dll to the Assets/Plugins folder. If you restart the Unity Editor, the error should go away and you should be able to use the integration.
...