在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

0 投票

Game Engine: Unity 2018.4.14

Wwise version: 2019.2.2.7275

 

I want to modify Wwise Initialization Settings.

So I opened Unity's Project Settings,

switched to Wwise Initialization page, it reminded me:

The Wwise project is not available. Please specify its location within the Wwise Settings.

So I turned to the Wwise Editor page, but I just found out

I had already filled the Wwise Project Path, and, the .wproj file is definitely available.

 

So, is there any other reasons can lead to the disappearance of Wwise Initialization Settings in Unity?

 

Then, I encounter another problem, that probably caused by the same reason.

When I run this game on an Android phone, there is an error:

NullReferenceException: Object reference not set to an instance of an object.

AkCommonPlatformSettings.cs Line545: userSettings.CopyTo(settings.deviceSettings);

▶AkWwiseInitializationSettings.cs Line293: AkSoundEngine.Init(ActivePlatformSettings.AkInitializationSettings)

 

There is no these errors server days ago.

In this period, I moved the setting files into "Resources" folder.

Does this matter?

问题关闭原因: To save the time of starting Unity Editor, I deleted wwise's editor folder.  So, the value of AkUtilities.IsWwiseProjectAvailable kept being false.
分类:General Discussion | 用户: Isabella D. (260 分)
已关闭 用户:Mads Maretty S. (Audiokinetic)

2 个回答

0 投票

Hey Isabella, 

I would probably not put your any Wwise Unity Integration files in the Resources folder, cause then all of it will be copied into your game build. 
Did you try moving back the setting files, back into just the Asset folder? Otherwise, maybe this post could be helpful? 

Let us know if you get it to work!

用户: Mads Maretty S. (Audiokinetic) (40.2k 分)
I've tried to put it out of the Resources folder, it doesn't work.
I decided to put the AKGameObject and AkWwiseInitilizationSettings into the Resources fold, on count of that, I want to play music in the login page, before the hot update resources is loaded.
0 投票
 
已采纳
So, I finally solved this problem.

To save the time of starting Unity Editor, I deleted wwise's editor folder.

So, the value of AkUtilities.IsWwiseProjectAvailable kept being false.
用户: Isabella D. (260 分)
采纳于 用户:Isabella D.
...