Post by marvinex123 on Dec 15, 2023 10:01:10 GMT
Hello. I have such an issue.
I created Sound Group with 3 variatons. Every single varation is set as an addressables.
For details config i'm attaching the screens.
My problem is that from time-to-time my audio won't play and throws such an error:
Coroutine couldn't be started because the the game object 'Voice_out_of_breath _ fear_2' is inactive!
0x00007ff680ae69cd (Unity) StackWalker::GetCurrentCallstack
0x00007ff680aed589 (Unity) StackWalker::ShowCallstack
0x00007ff681a70943 (Unity) GetStacktrace
0x00007ff68211091d (Unity) DebugStringToFile
0x00007ff6809e04d5 (Unity) MonoBehaviour::StartCoroutineManaged2
0x00007ff67fbce5e4 (Unity) MonoBehaviour_CUSTOM_StartCoroutineManaged2
0x0000023a29f64df4 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.MonoBehaviour:StartCoroutineManaged2 (UnityEngine.MonoBehaviour,System.Collections.IEnumerator)
0x0000023a29f64983 (Mono JIT Code) UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator)
0x0000023cbab746a3 (Mono JIT Code) [SoundGroupVariation.cs:465] DarkTonic.MasterAudio.SoundGroupVariation:Play (System.Nullable`1<single>,single,string,single,single,System.Nullable`1<single>,UnityEngine.Transform,bool,single,System.Nullable`1<double>,bool,bool)
0x0000023cbab71edb (Mono JIT Code) [MasterAudio.cs:3104] DarkTonic.MasterAudio.MasterAudio:PlaySoundIfAvailable (DarkTonic.MasterAudio.MasterAudio/AudioInfo,UnityEngine.Vector3,single,DarkTonic.MasterAudio.SoundGroupVariation,DarkTonic.MasterAudio.GroupBus,bool,bool&,System.Nullable`1<single>,DarkTonic.MasterAudio.MasterAudio/AudioGroupInfo,UnityEngine.Transform,bool,single,bool,bool,System.Nullable`1<double>,bool,bool)
0x0000023cb4a0e8ab (Mono JIT Code) [MasterAudio.cs:2269] DarkTonic.MasterAudio.MasterAudio:TryPlayVariationOrOtherMatches (string,single,UnityEngine.Vector3,System.Nullable`1<double>,System.Nullable`1<single>,UnityEngine.Transform,bool,single,bool,bool,bool,bool,DarkTonic.MasterAudio.MasterAudio/AudioInfo,DarkTonic.MasterAudio.SoundGroupVariation,DarkTonic.MasterAudio.GroupBus,bool,bool,DarkTonic.MasterAudio.MasterAudio/AudioGroupInfo,bool,System.Nullable`1<int>,System.Collections.Generic.List`1<int>,int,bool,bool,System.Collections.Generic.List`1<int>,bool,System.Collections.Generic.List`1<DarkTonic.MasterAudio.MasterAudio/AudioInfo>,bool&)
0x0000023cbab6d8ab (Mono JIT Code) [MasterAudio.cs:2194] DarkTonic.MasterAudio.MasterAudio:PlaySoundAtVolume (string,single,UnityEngine.Vector3,System.Nullable`1<double>,System.Nullable`1<single>,UnityEngine.Transform,string,bool,single,bool,bool,bool,bool,bool)
0x0000023cbb6ffea3 (Mono JIT Code) [MasterAudio.cs:1753] DarkTonic.MasterAudio.MasterAudio:PlaySound (string,single,System.Nullable`1<single>,single,string,System.Nullable`1<double>,bool,bool)
This is not happening all the time, it is very not deterministic and random. Sometimes it works, sometimes sound works by 5 min, sometimes by 20, sometimes plays 3 times in a loop and then is not working anymore.
im not using any of the custom system to load/unload addressables. I'm just using MasterAudio.PlaySound
I created Sound Group with 3 variatons. Every single varation is set as an addressables.
For details config i'm attaching the screens.
My problem is that from time-to-time my audio won't play and throws such an error:
Coroutine couldn't be started because the the game object 'Voice_out_of_breath _ fear_2' is inactive!
0x00007ff680ae69cd (Unity) StackWalker::GetCurrentCallstack
0x00007ff680aed589 (Unity) StackWalker::ShowCallstack
0x00007ff681a70943 (Unity) GetStacktrace
0x00007ff68211091d (Unity) DebugStringToFile
0x00007ff6809e04d5 (Unity) MonoBehaviour::StartCoroutineManaged2
0x00007ff67fbce5e4 (Unity) MonoBehaviour_CUSTOM_StartCoroutineManaged2
0x0000023a29f64df4 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.MonoBehaviour:StartCoroutineManaged2 (UnityEngine.MonoBehaviour,System.Collections.IEnumerator)
0x0000023a29f64983 (Mono JIT Code) UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator)
0x0000023cbab746a3 (Mono JIT Code) [SoundGroupVariation.cs:465] DarkTonic.MasterAudio.SoundGroupVariation:Play (System.Nullable`1<single>,single,string,single,single,System.Nullable`1<single>,UnityEngine.Transform,bool,single,System.Nullable`1<double>,bool,bool)
0x0000023cbab71edb (Mono JIT Code) [MasterAudio.cs:3104] DarkTonic.MasterAudio.MasterAudio:PlaySoundIfAvailable (DarkTonic.MasterAudio.MasterAudio/AudioInfo,UnityEngine.Vector3,single,DarkTonic.MasterAudio.SoundGroupVariation,DarkTonic.MasterAudio.GroupBus,bool,bool&,System.Nullable`1<single>,DarkTonic.MasterAudio.MasterAudio/AudioGroupInfo,UnityEngine.Transform,bool,single,bool,bool,System.Nullable`1<double>,bool,bool)
0x0000023cb4a0e8ab (Mono JIT Code) [MasterAudio.cs:2269] DarkTonic.MasterAudio.MasterAudio:TryPlayVariationOrOtherMatches (string,single,UnityEngine.Vector3,System.Nullable`1<double>,System.Nullable`1<single>,UnityEngine.Transform,bool,single,bool,bool,bool,bool,DarkTonic.MasterAudio.MasterAudio/AudioInfo,DarkTonic.MasterAudio.SoundGroupVariation,DarkTonic.MasterAudio.GroupBus,bool,bool,DarkTonic.MasterAudio.MasterAudio/AudioGroupInfo,bool,System.Nullable`1<int>,System.Collections.Generic.List`1<int>,int,bool,bool,System.Collections.Generic.List`1<int>,bool,System.Collections.Generic.List`1<DarkTonic.MasterAudio.MasterAudio/AudioInfo>,bool&)
0x0000023cbab6d8ab (Mono JIT Code) [MasterAudio.cs:2194] DarkTonic.MasterAudio.MasterAudio:PlaySoundAtVolume (string,single,UnityEngine.Vector3,System.Nullable`1<double>,System.Nullable`1<single>,UnityEngine.Transform,string,bool,single,bool,bool,bool,bool,bool)
0x0000023cbb6ffea3 (Mono JIT Code) [MasterAudio.cs:1753] DarkTonic.MasterAudio.MasterAudio:PlaySound (string,single,System.Nullable`1<single>,single,string,System.Nullable`1<double>,bool,bool)
This is not happening all the time, it is very not deterministic and random. Sometimes it works, sometimes sound works by 5 min, sometimes by 20, sometimes plays 3 times in a loop and then is not working anymore.
im not using any of the custom system to load/unload addressables. I'm just using MasterAudio.PlaySound