Search Unity

Timelines + WWise = Disappearing events

Discussion in 'Timeline' started by Hi_ImTemmy, Apr 22, 2019.

  1. Hi_ImTemmy

    Hi_ImTemmy

    Joined:
    Jul 8, 2015
    Posts:
    174
    Hello,

    Unity ver: 2018.2.2f1
    WWise ver: 2019.1.0

    I've just started to learn timelines (love em. Great feature.) I'm trying to integrate WWise events into them by using AK Event tracks however I'm having a problem where as soon as an event is defined on the timeline, it altogether disappears.



    Has anyone had this problem before?
     
    Last edited: Apr 23, 2019
  2. tempostudios

    tempostudios

    Joined:
    Jan 31, 2019
    Posts:
    5
    Yep, was happening to me too. Make sure you load your sound banks before playing events. Fixed the issue for me.

    Unity 2019.1.0f2
    Wwise 2019.1.0
     
    seant_unity likes this.
  3. jmilsonneau

    jmilsonneau

    Joined:
    Apr 24, 2019
    Posts:
    6
    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);