edited October 2015 in ORK Support
i get this error when the victory event starts in turnbase battle and it breaks and doesnt get pass music node. i set the music to its own channle and id same thing happens if i remove from event the victory event works fine wasnt geting this error till i updated. any idea

NullReferenceException: Object reference not set to an instance of an object
ORKFramework.MusicChannel.FadeToStored (Int32 id, Single time, EaseType type)
ORKFramework.PlayMusic.Play ()
ORKFramework.Events.Steps.ChangeMusicStep.Execute (ORKFramework.Events.BaseEvent baseEvent)
ORKFramework.Events.BattleEndEvent.ExecuteNextStep ()
ORKFramework.Events.BaseEvent.StepFinished (Int32 next)
ORKFramework.Events.BaseEvent.Tick (Single delta)
ORKFramework.Behaviours.BattleComponent.Update ()
Post edited by canibecooltoo on
  • Working fine here out of the box (updating from pre-music channel version).

    One thing to keep in mind when playing a stored clip is that you need to use the same channel and id you've used to store the clip.
    E.g. if the field music is running on channel 0 and you store it with id 0, you'll need to play the stored clip on channel 0 with id 0.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.