Post by mim on Oct 21, 2016 9:12:23 GMT
Hello,
I'm using MasterAudio 4.0.5 with Unity 5.4.1f1
I made several custom AudioSource and Group templates. But sometimes, it's as if the MasterAudio gameObject loses the link to a template (which is still in the correct folder). And I can't add new templates, it doesn't see them and ask to drag them from Project View.
I also have a template that doesn't work anymore, I have these error messages :
ArgumentException: The Object you want to instantiate is null.
UnityEngine.Object.CheckNullArgument (System.Object arg, System.String message) (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.cs:196)
UnityEngine.Object.Instantiate (UnityEngine.Object original, Vector3 position, Quaternion rotation) (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.cs:143)
MasterAudioInspector.CreateSoundGroupFromTemplate (UnityEngine.AudioClip aClip, Int32 groupTemplateIndex) (at Assets/Plugins/Editor/DarkTonic/MasterAudio/MasterAudioInspector.cs:3630)
MasterAudioInspector.OnInspectorGUI () (at Assets/Plugins/Editor/DarkTonic/MasterAudio/MasterAudioInspector.cs:1368)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1235)
UnityEditor.DockArea:OnGUI()
Unexpected top level layout group! Missing GUILayout.EndScrollView/EndVertical/EndHorizontal?
UnityEditor.DockArea:OnGUI()
It seems to be only with the MasterAudio gameObject in the scene, not its prefab. Is there a way to relink/correct it? I already have quite a lot of sounds and would rather not start again.
I'm using MasterAudio 4.0.5 with Unity 5.4.1f1
I made several custom AudioSource and Group templates. But sometimes, it's as if the MasterAudio gameObject loses the link to a template (which is still in the correct folder). And I can't add new templates, it doesn't see them and ask to drag them from Project View.
I also have a template that doesn't work anymore, I have these error messages :
ArgumentException: The Object you want to instantiate is null.
UnityEngine.Object.CheckNullArgument (System.Object arg, System.String message) (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.cs:196)
UnityEngine.Object.Instantiate (UnityEngine.Object original, Vector3 position, Quaternion rotation) (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.cs:143)
MasterAudioInspector.CreateSoundGroupFromTemplate (UnityEngine.AudioClip aClip, Int32 groupTemplateIndex) (at Assets/Plugins/Editor/DarkTonic/MasterAudio/MasterAudioInspector.cs:3630)
MasterAudioInspector.OnInspectorGUI () (at Assets/Plugins/Editor/DarkTonic/MasterAudio/MasterAudioInspector.cs:1368)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1235)
UnityEditor.DockArea:OnGUI()
Unexpected top level layout group! Missing GUILayout.EndScrollView/EndVertical/EndHorizontal?
UnityEditor.DockArea:OnGUI()
It seems to be only with the MasterAudio gameObject in the scene, not its prefab. Is there a way to relink/correct it? I already have quite a lot of sounds and would rather not start again.