Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

[SOLVED]Asset Browser Bug

Discussion in 'Scripting' started by freedom667, May 3, 2018.

  1. freedom667

    freedom667

    Joined:
    Sep 6, 2015
    Posts:
    424
    Edit: Solved. I updated the asset and problem is fixed.

    I want to do DLC for my game but when I open the Asset Browser from Windows section, coming empty and giving error. is this a bug or another else? how can i fix it?



    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEngine.AssetBundles.AssetBundleModel.BundleDataInfo.GatherDependencies (UnityEngine.AssetBundles.AssetBundleModel.AssetInfo asset, System.String parentBundle) (at Assets/AssetBundleBrowser/UnityEngine.AssetBundles/Editor/AssetBundleBrowser/AssetBundleModel/ABModelBundleInfo.cs:443)
    3. UnityEngine.AssetBundles.AssetBundleModel.BundleDataInfo.Update () (at Assets/AssetBundleBrowser/UnityEngine.AssetBundles/Editor/AssetBundleBrowser/AssetBundleModel/ABModelBundleInfo.cs:425)
    4. UnityEngine.AssetBundles.AssetBundleModel.Model.Update () (at Assets/AssetBundleBrowser/UnityEngine.AssetBundles/Editor/AssetBundleBrowser/AssetBundleModel/ABModel.cs:55)
    5. UnityEngine.AssetBundles.AssetBundleManageTab.Update () (at Assets/AssetBundleBrowser/UnityEngine.AssetBundles/Editor/AssetBundleBrowser/AssetBundleManageTab.cs:78)
    6. UnityEngine.AssetBundles.AssetBundleBrowserMain.Update () (at Assets/AssetBundleBrowser/UnityEngine.AssetBundles/Editor/AssetBundleBrowser/AssetBundleBrowserMain.cs:101)
    7. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
    8. Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    9. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
    10. System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
    11. UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:295)
    12. UnityEditor.HostView.Invoke (System.String methodName) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:288)
    13. UnityEditor.HostView.SendUpdate () (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:370)
    14. UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/builduser/buildslave/unity/build/Editor/Mono/EditorApplication.cs:127)
    15.  
     
    Last edited: May 3, 2018
  2. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,140
    Which version of Unity are you using? I would delete the browser and double check you have the current version. Perhaps try the github version as I think the asset store version is a little behind.
     
  3. freedom667

    freedom667

    Joined:
    Sep 6, 2015
    Posts:
    424
    I solved the problem. I downloaded the 1.5.0 version from github