Post by techead on May 22, 2015 2:11:54 GMT
When I enable Apply Distance Setting Priority Set it 0.5 Seconds
I have 12 Sound in the master Audio prefab. I get this error on all the Sound groups.
NullReferenceException: Object reference not set to an instance of an object
DarkTonic.MasterAudio.MasterAudio.get_AudioListenerTransform () (at Assets/Plugins/DarkTonic/MasterAudio/Scripts/Singleton/MasterAudio.cs:4906)
DarkTonic.MasterAudio.AudioPrioritizer.Set3DPriority (UnityEngine.AudioSource audio, Boolean useClipAgePriority) (at Assets/Plugins/DarkTonic/MasterAudio/Scripts/Singleton/AudioPrioritizer.cs:24)
DarkTonic.MasterAudio.MasterAudio.PlaySoundIfAvailable (DarkTonic.MasterAudio.AudioInfo info, Vector3 sourcePosition, Single volumePercentage, System.Boolean& forgetSoundPlayed, Nullable`1 pitch, DarkTonic.MasterAudio.AudioGroupInfo audioGroup, UnityEngine.Transform sourceTrans, Boolean attachToSource, Single delaySoundTime, Boolean useVector3, Boolean makePlaySoundResult, Boolean isChaining, Boolean isSingleSubscribedPlay) (at Assets/Plugins/DarkTonic/MasterAudio/Scripts/Singleton/MasterAudio.cs:1677)
DarkTonic.MasterAudio.MasterAudio.PlaySoundAtVolume (System.String sType, Single volumePercentage, Vector3 sourcePosition, Nullable`1 pitch, UnityEngine.Transform sourceTrans, System.String variationName, Boolean attachToSource, Single delaySoundTime, Boolean useVector3, Boolean makePlaySoundResult, Boolean isChaining, Boolean isSingleSubscribedPlay, Boolean triggeredAsChildGroup) (at Assets/Plugins/DarkTonic/MasterAudio/Scripts/Singleton/MasterAudio.cs:1537)
DarkTonic.MasterAudio.MasterAudio.PlaySound3DFollowTransform (System.String sType, UnityEngine.Transform sourceTrans, Single volumePercentage, Nullable`1 pitch, Single delaySoundTime, System.String variationName, Boolean isChaining, Boolean isSingleSubscribedPlay) (at Assets/Plugins/DarkTonic/MasterAudio/Scripts/Singleton/MasterAudio.cs:1112)
DarkTonic.MasterAudio.MasterAudio.Awake () (at Assets/Plugins/DarkTonic/MasterAudio/Scripts/Singleton/MasterAudio.cs:718)
Any idea on this.
I have 12 Sound in the master Audio prefab. I get this error on all the Sound groups.
NullReferenceException: Object reference not set to an instance of an object
DarkTonic.MasterAudio.MasterAudio.get_AudioListenerTransform () (at Assets/Plugins/DarkTonic/MasterAudio/Scripts/Singleton/MasterAudio.cs:4906)
DarkTonic.MasterAudio.AudioPrioritizer.Set3DPriority (UnityEngine.AudioSource audio, Boolean useClipAgePriority) (at Assets/Plugins/DarkTonic/MasterAudio/Scripts/Singleton/AudioPrioritizer.cs:24)
DarkTonic.MasterAudio.MasterAudio.PlaySoundIfAvailable (DarkTonic.MasterAudio.AudioInfo info, Vector3 sourcePosition, Single volumePercentage, System.Boolean& forgetSoundPlayed, Nullable`1 pitch, DarkTonic.MasterAudio.AudioGroupInfo audioGroup, UnityEngine.Transform sourceTrans, Boolean attachToSource, Single delaySoundTime, Boolean useVector3, Boolean makePlaySoundResult, Boolean isChaining, Boolean isSingleSubscribedPlay) (at Assets/Plugins/DarkTonic/MasterAudio/Scripts/Singleton/MasterAudio.cs:1677)
DarkTonic.MasterAudio.MasterAudio.PlaySoundAtVolume (System.String sType, Single volumePercentage, Vector3 sourcePosition, Nullable`1 pitch, UnityEngine.Transform sourceTrans, System.String variationName, Boolean attachToSource, Single delaySoundTime, Boolean useVector3, Boolean makePlaySoundResult, Boolean isChaining, Boolean isSingleSubscribedPlay, Boolean triggeredAsChildGroup) (at Assets/Plugins/DarkTonic/MasterAudio/Scripts/Singleton/MasterAudio.cs:1537)
DarkTonic.MasterAudio.MasterAudio.PlaySound3DFollowTransform (System.String sType, UnityEngine.Transform sourceTrans, Single volumePercentage, Nullable`1 pitch, Single delaySoundTime, System.String variationName, Boolean isChaining, Boolean isSingleSubscribedPlay) (at Assets/Plugins/DarkTonic/MasterAudio/Scripts/Singleton/MasterAudio.cs:1112)
DarkTonic.MasterAudio.MasterAudio.Awake () (at Assets/Plugins/DarkTonic/MasterAudio/Scripts/Singleton/MasterAudio.cs:718)
Any idea on this.