Search Unity

2019.1 Cannot start using Addressables. Parameter 'Selected' does not exist. / Error executing sound

Discussion in 'Addressables' started by 5argon, Dec 12, 2018.

  1. 5argon

    5argon

    Joined:
    Jun 10, 2013
    Posts:
    1,555
    I am on 2019.1 alpha with Addressables 0.4.8

    When I have no addressable folder, clicking intialize the AAS system will freeze Unity. Looking at Console app of macOS it prints this many times :

    Code (CSharp):
    1.  
    2. Parameter 'Selected' does not exist.
    3. UnityEngine.Animator:ResetTriggerString()
    4. UnityEngine.Animator:ResetTrigger(String) (at /Users/builduser/buildslave/unity/build/Modules/Animation/ScriptBindings/Animator.bindings.cs:364)
    5. UnityEngine.UI.Selectable:TriggerAnimation(String) (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Selectable.cs:973)
    6. UnityEngine.UI.Selectable:DoStateTransition(SelectionState, Boolean) (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Selectable.cs:603)
    7. UnityEngine.UI.Selectable:OnValidate() (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Selectable.cs:497)
    8. System.Reflection.MonoMethod:InternalInvoke()
    9. System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    10. System.Reflection.MethodBase:Invoke(Object, Object[])
    11. UnityEngine.UI.Graphic:OnRebuildRequested() (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Graphic.cs:736)
    12. UnityEngine.UI.Text:OnRebuildRequested() (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Text.cs:753)
    13. UnityEngine.UI.GraphicRebuildTracker:OnRebuildRequested() (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/GraphicRebuildTracker.cs:45)
    14. UnityEngine.CanvasRenderer:RequestRefresh() (at /Users/builduser/buildslave/unity/build/Modules/UI/ScriptBindings/CanvasRenderer.bindings.cs:172)
    15. UnityEditor.AssetDatabase:CreateAsset()
    16. UnityEditor.AddressableAssets.AddressableAssetSettingsDefaultObject:set_Settings(AddressableAssetSettings) (at Library/PackageCache/com.unity.addressables@0.4.8-preview/Editor/Settings/AddressableAssetSettingsDefaultObject.cs:137)
    17. UnityEditor.AddressableAssets.AddressableAssetsWindow:OnGUI() (at Library/PackageCache/com.unity.addressables@0.4.8-preview/Editor/GUI/AddressableAssetsWindow.cs:72)
    18. System.Reflection.MonoMethod:InternalInvoke()
    19. System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    20. System.Reflection.MethodBase:Invoke(Object, Object[])
    21. UnityEditor.HostView:Invoke(String, Object) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:357)
    22. UnityEditor.HostView:Invoke(String) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:351)
    23. UnityEditor.HostView:InvokeOnGUI(Rect, Rect) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:317)
    24. UnityEditor.DockArea:DrawView(Rect, Rect, Boolean, Boolean) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:377)
    25. UnityEditor.DockArea:OldOnGUI() (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:344)
    26. UnityEngine.UIElements.IMGUIContainer:DoOnGUI(Event, Matrix4x4, Rect, Boolean) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:246)
    27. UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent(Event, Matrix4x4, Rect) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:449)
    28. UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent(Event) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:432)
    29. UnityEngine.UIElements.IMGUIContainer:HandleEvent(EventBase) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:412)
    30. UnityEngine.UIElements.MouseCaptureDispatchingStrategy:DispatchEvent(EventBase, IPanel) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/Events/MouseCaptureDispatchingStrategy.cs:88)
    31. UnityEngine.UIElements.EventDispatcher:processEvent(EventBase, IPanel) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:280)
    32. UnityEngine.UIElements.EventDispatcher:Dispatch(EventBase, IPanel, DispatchMode) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:156)
    33. UnityEngine.UIElements.BaseVisualElementPanel:SendEvent(EventBase, DispatchMode) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/Panel.cs:187)
    34. UnityEngine.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:250)
    35. UnityEngine.UIElements.UIElementsUtility:processEvent(Int32, IntPtr) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:68)
    36. UnityEngine.GUIUtility:processEvent(Int32, IntPtr) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
    37.  
    When I reopen Unity, it would either freeze or immediately crash as my saved layout is showing the addressable panel. It seems to be about "sound" but some line of code originated from AAS library. Now I am locked out from doing anything other than deleting the AAS folder.

    Code (CSharp):
    1. Failed loading FSB data for AudioClip.
    2. (Filename: ./Modules/Audio/Public/sound/SoundManager.cpp Line: 481)
    3.  
    4. Function SoundHandle::Instance::~Instance() may only be called from main thread!
    5. (Filename: ./Modules/Audio/Public/sound/SoundManager.cpp Line: 35)
    6.  
    7. Failed loading FSB data for AudioClip.
    8. (Filename: ./Modules/Audio/Public/sound/SoundManager.cpp Line: 481)
    9.  
    10. Function SoundHandle::Instance::~Instance() may only be called from main thread!
    11. (Filename: ./Modules/Audio/Public/sound/SoundManager.cpp Line: 35)
    12.  
    13. Failed loading FSB data for AudioClip.
    14. (Filename: ./Modules/Audio/Public/sound/SoundManager.cpp Line: 481)
    15.  
    16. Function SoundHandle::Instance::~Instance() may only be called from main thread!
    17. (Filename: ./Modules/Audio/Public/sound/SoundManager.cpp Line: 35)
    18.  
    19. Failed loading FSB data for AudioClip.
    20. (Filename: ./Modules/Audio/Public/sound/SoundManager.cpp Line: 481)
    21.  
    22. Function SoundHandle::Instance::~Instance() may only be called from main thread!
    23. (Filename: ./Modules/Audio/Public/sound/SoundManager.cpp Line: 35)
    24.  
    25. ./Modules/Audio/Public/sound/SoundManager.cpp(228) : Error executing sound->getNumSubSounds(&numSubSounds) (Operation could not be performed because specified sound/DSP connection is not ready. )
    26. UnityEditor.AssetDatabase:GetMainAssetTypeAtPath()
    27. UnityEditor.AddressableAssets.AddressableAssetEntry:GatherAllAssets(List`1, Boolean, Boolean) (at Library/PackageCache/com.unity.addressables@0.4.8-preview/Editor/Settings/AddressableAssetEntry.cs:392)
    28. UnityEditor.AddressableAssets.AddressableAssetEntryTreeView:AddAndRecurseEntriesBuild(AddressableAssetEntry, AssetEntryTreeViewItem, Int32) (at Library/PackageCache/com.unity.addressables@0.4.8-preview/Editor/GUI/AddressableAssetsSettingsGroupTreeView.cs:246)
    29. UnityEditor.AddressableAssets.AddressableAssetEntryTreeView:AddAndRecurseEntriesBuild(AddressableAssetEntry, AssetEntryTreeViewItem, Int32) (at Library/PackageCache/com.unity.addressables@0.4.8-preview/Editor/GUI/AddressableAssetsSettingsGroupTreeView.cs:251)
    30. UnityEditor.AddressableAssets.AddressableAssetEntryTreeView:AddAndRecurseEntriesBuild(AddressableAssetEntry, AssetEntryTreeViewItem, Int32) (at Library/PackageCache/com.unity.addressables@0.4.8-preview/Editor/GUI/AddressableAssetsSettingsGroupTreeView.cs:251)
    31. UnityEditor.AddressableAssets.AddressableAssetEntryTreeView:AddGroupChildrenBuild(AddressableAssetGroup, TreeViewItem) (at Library/PackageCache/com.unity.addressables@0.4.8-preview/Editor/GUI/AddressableAssetsSettingsGroupTreeView.cs:236)
    32. UnityEditor.AddressableAssets.AddressableAssetEntryTreeView:BuildRoot() (at Library/PackageCache/com.unity.addressables@0.4.8-preview/Editor/GUI/AddressableAssetsSettingsGroupTreeView.cs:69)
    33. UnityEditor.IMGUI.Controls.TreeViewControlDataSource:FetchData() (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewControl/TreeViewControlDataSource.cs:53)
    34. UnityEditor.IMGUI.Controls.TreeViewDataSource:ReloadData() (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewDataSource.cs:53)
    35. UnityEditor.IMGUI.Controls.TreeViewControlDataSource:ReloadData() (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewControl/TreeViewControlDataSource.cs:25)
    36. UnityEditor.IMGUI.Controls.TreeViewController:ReloadData() (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:288)
    37. UnityEditor.IMGUI.Controls.TreeView:Reload() (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewControl/TreeViewControl.cs:105)
    38. UnityEditor.AddressableAssets.AddressableAssetsSettingsGroupEditor:OnGUI(Rect) (at Library/PackageCache/com.unity.addressables@0.4.8-preview/Editor/GUI/AddressableAssetsSettingsGroupEditor.cs:348)
    39. UnityEditor.AddressableAssets.AddressableAssetsWindow:OnGUI() (at Library/PackageCache/com.unity.addressables@0.4.8-preview/Editor/GUI/AddressableAssetsWindow.cs:131)
    40. System.Reflection.MonoMethod:InternalInvoke()
    41. System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    42. System.Reflection.MethodBase:Invoke(Object, Object[])
    43. UnityEditor.HostView:Invoke(String, Object) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:357)
    44. UnityEditor.HostView:Invoke(String) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:351)
    45. UnityEditor.HostView:InvokeOnGUI(Rect, Rect) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:317)
    46. UnityEditor.DockArea:DrawView(Rect, Rect, Boolean, Boolean) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:377)
    47. UnityEditor.DockArea:OldOnGUI() (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:344)
    48. UnityEngine.UIElements.IMGUIContainer:DoOnGUI(Event, Matrix4x4, Rect, Boolean) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:246)
    49. UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent(Event, Matrix4x4, Rect) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:446)
    50. UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent() (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:423)
    51. UnityEngine.UIElements.UIR.ImmediateRenderer:Draw(DrawChainState) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderers.cs:407)
    52. UnityEngine.UIElements.UIR.UIRenderDevice:ContinueChain(RendererBase, DrawChainState, Boolean) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderDevice.cs:798)
    53. UnityEngine.UIElements.UIR.UIRenderDevice:DrawChain(RendererBase, Rect, Matrix4x4, Texture) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderDevice.cs:781)
    54. UnityEngine.UIElements.UIRRepaintUpdater:DrawChain(Rect, Matrix4x4) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:218)
    55. UnityEngine.UIElements.UIRRepaintUpdater:Update() (at /Users/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:190)
    56. UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTree() (at /Users/builduser/buildslave/unity/build/Modules/UIElements/VisualTreeUpdater.cs:70)
    57. UnityEngine.UIElements.Panel:Repaint(Event) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/Panel.cs:587)
    58. UnityEngine.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:235)
    59. UnityEngine.UIElements.UIElementsUtility:ProcessEvent(Int32, IntPtr) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:68)
    60. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
    61.  
    62. [./Modules/Audio/Public/sound/SoundChannel.h line 15]
    63. (Filename: Library/PackageCache/com.unity.addressables@0.4.8-preview/Editor/Settings/AddressableAssetEntry.cs Line: 392)
    64.  
    65. Receiving unhandled NULL exception
    66. Receiving unhandled NULL exception
    67. Obtained 6 stack frames.
    68. #0  0x000001459da3be in mono_unity_backtrace_from_context
    69. #1  0x0000010a39d7dd in PrintStackTraceOSX(void*)
    70. #2  0x0000010a39c07f in HandleSignal(int, __siginfo*, void*)
    71. #3  0x00000145a6a0c5 in mono_chain_signal
    72. #4  0x0000014593ba3f in mono_sigsegv_signal_handler
    73. #5  0x007fff6c800b3d in _sigtramp
    74.  
     
  2. 5argon

    5argon

    Joined:
    Jun 10, 2013
    Posts:
    1,555
    Ok, I realized it is one strange ScriptableObject file I got in my Resource folder. It contains sound and it crash with same message even when clicking on it directly. Seems to be 2019.1 bug rather than Addressables.
     
  3. unity_bill

    unity_bill

    Joined:
    Apr 11, 2017
    Posts:
    1,053
    heads up, we have a handful of 2019.1 specific issues. Since 2019.1 is still in alpha and has it's own collection of issues, we haven't spent a ton of time solidifying ourselves on that version. So use 19.1 + addressables with caution.
     
    MNNoxMortem likes this.