menu
 

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

+1 投票

Hello,

Under Unity 2019.1 Wwise Initialization Settings is not accessible under Edit > Project Settings. 

Unity is throwing a warning into console on each game start:

There are menu items registered under Edit/Project Settings: Wwise Initialization Settings
Consider using [SettingsProvider] attribute to register in the Unified Settings Window.

UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

 

I know, how to access these settings, but will the warning be fixed? Or how to disable it?

分类:General Discussion | 用户: Paweł D. (120 分)

2 个回答

+1 投票

Hey, this is the worst answer but I changed in AkWwiseInitializationSettings.cs

from this
[UnityEditor.MenuItem("Edit/Project Settings/Wwise Initialization Settings")]
to this:
[UnityEditor.MenuItem("Edit/Wwise Initialization Settings")]
 
 
The issue is that using MenuItem() to add stuff to "Project Settings" is now flagged as an error by Unity, they want people to use the new SettingsProvider() attribute.
I am not aware of a way to disable the warning so had to do it this way.  It moves the menu item, but, it's still pretty easy to find. Just make sure your audio crew knows where to look if they need stuff there.
用户: Dominic C. (220 分)
0 投票
Have you been able to find a solution to the problem?

Thank you very much!
用户: Andreu K. (150 分)
...