社区问答

欢迎来到 Audiokinetic 社区问答论坛。在此,Wwise 和 Strata 用户可互帮互助。如需我们团队直接提供协助,请前往技术支持申请单页面。若要报告问题,请在 Audiokinetic Launcher 中选择“报告错误”选项(注意,问答论坛并不会接收错误报告)。我们内部设有专门的错误报告系统,会有专人查看报告并设法解决问题。

要想尽快得到满意的解答,请在提问时注意以下几点:

  • 描述尽量具体:比如,想达到什么样的目的,或者具体哪里有问题。
  • 包含关键细节:比如,Wwise 和游戏引擎版本以及所用操作系统等等。
  • 阐明所做努力:阐明自己为了排除故障都采取了哪些措施。
  • 聚焦问题本身:聚焦于问题本身的相关技术细节,以便别人可以快速找到解决方案。

+2 投票

Hello,

We're testing if Wwise is what we're looking for in our project and for the most part it does, but there's this big issue we ran into. For some reason, when we play the scene we're testing Wwise's features in the timeline, the Ak Event clip disappears. But this only seems to happen if the Event property is currently holding an event. Something similar happens when we enable "Retrigger Event" where the clip vanishes from the timeline but only if the Event property isn't empty.

This issue is urgent since it may greatly hamper our workflow while we figure a way to either solve or circumvent it, or to simply discard Wwise altogether and find a different application, which would be the worst option since it has features that are really convenient to us. It may also be something on our end but we're at an a loss of what it could be. We're currently using Wwise 2019.1.0 as well as the Unity Integration 2018.1.6 in Unity 2018.3.8f.

Thanks for reading and hoping for a hasty answer,

Antú.

 

[Edit 04/22/19]

So, it turns out that the clips aren't deleted. Once the event is set, their max duration is automatically set to 0 and it "vanishes" as soon as the timeline updates. You can find it again selecting the track's content (by clicking and dragging) until you find it's exact location in the timeline and then carefully dragging it so that it's visible again, but as soon as you update the timeline again it's duration is set again to 0.

I already answered this to Radek Karnik but just in case I'll put it here too: I made sure the JSON metadata is generating and that it's set to estimate duration. It's been like that since we starting checking out Wwise.

分类:General Discussion | 用户: Antú M. (150 分)
修改于 用户:Antú M.
This is happening to me with infinite loops. I'd like to be able to trigger separate start and stop events for a loop, but if the event has infinitely looping audio in it it will "disappear" as the "estimated time" is invalid.

4 个回答

+2 投票
Hello, are you sure you generate JSON metadata when generating sound banks and metadata setting is set to estimate duration? It can be set in Wwise Project Settings / SoundBanks and it is nessesary if you want to use Wwise in Unity timeline.
用户: Radek Karnik (990 分)
Yes, both of those settings were enabled in the first tests.
Ok, we updated Wwise to 2019 and now we are on the same boat :D
+4 投票
Me too! I upgrade from 2018.1.1 to 2019.1.0. The AKEvent Clip in Timeline doesn't work correctly. For now you just can click Refresh in the Wwise Picker window before working on Timeline. It can temporarily solve the problem. But the problem still maintain in the build game, cutscene sometimes can triiger akevent clip but sometimes not. It is very serious! Hope AK can work this out!
用户: JazMaybe (370 分)
0 投票
We had this issue with a soundbank generated with values written with a . instead of a , in the values probably because the computer generatong the soundbank is in french.

 

The fix was to do this changes in AkWwiseXMLBuilder.cs:

line 114: var radius = float.Parse(node.Attributes["MaxAttenuation"].InnerText, System.Globalization.NumberStyles.Any, CultureInfo.InvariantCulture);

line 143: minDuration = float.Parse(node.Attributes["DurationMin"].InnerText, System.Globalization.NumberStyles.Any, CultureInfo.InvariantCulture);

line 158: maxDuration = float.Parse(node.Attributes["DurationMax"].InnerText, System.Globalization.NumberStyles.Any, CultureInfo.InvariantCulture);
用户: jean m. (180 分)
0 投票
One single person of our team has been struggling against a similar issue for almost a week now. I just did a debugging session in remote and found a workaround.

In the unity editor, there is a CanPostEvents flag that was false while it shouldn't. I feel like the method static void DetermineCanPostEvents may not cover all edgecases.

My patch is to simply go into AkTimelineEventPlayable.cs - PostEvent() and comment the "if(!CanPostEvents) { }". That's it, wwise post events are now working in playmode on his machine.

Hoping this may help someone!
用户: Guillaume S. (180 分)
...