0

i have a problem 'Gibberish '

BKBK 4 weeks ago in Dialogue 0

The first one works properly.
But it doesn't work properly after that.



MissingReferenceException: The object of type 'AudioSource' has been destroyed but you are still trying to access it.

Your script should either check if it is null or you should not destroy the object.

UnityEngine.AudioSource.set_pitch (System.Single value) (at <9202cbf19591499d8bbbdcd8acb92428>:0)

GameCreator.Core.AudioBuffer.SetPitch (System.Single pitch) (at Assets/Plugins/GameCreator/Core/Mono/Audio/AudioBuffer.cs:108)

GameCreator.Dialogue.GibberishEffect.Gibber (System.Int32 visibleCharacters) (at Assets/Plugins/GameCreator/Dialogue/Mono/Effects/GibberishEffect.cs:53)

GameCreator.Dialogue.DialogueUI.UpdateTypewriterEffect () (at Assets/Plugins/GameCreator/Dialogue/Mono/Components/DialogueUI.cs:107)

GameCreator.Dialogue.DialogueUI.Update () (at Assets/Plugins/GameCreator/Dialogue/Mono/Components/DialogueUI.cs:81)

Unity version:
2019.3.5
Game Creator version:
1.1.2