Asset Null Exception - No assetGUID
I have a very weird error. This seems to be editor only error and everything works fine but I can't pull up a asset in menus, however I can drag and drop it into fields (for example a buttons on click event) its functions will work in testing but it will not show up in Asset lists.
Here is the error:
ArgumentNullException: Value cannot be null
Parameter name: assetGuid
Here is the log of the error:
ArgumentNullException: Value cannot be null.
Parameter name: assetGuid
UnityEditor.Collaboration.SoftLockData.TryGetLocksOnAssetGUID (System.String assetGuid, System.Collections.Generic.List`1[UnityEditor.Collaboration.SoftLock]& softLocks) (at C:/buildslave/unity/build/Editor/Mono/Collab/Softlocks/SoftlockData.cs:169)
UnityEditor.Collaboration.SoftLockData.TryGetSoftlockCount (System.String assetGuid, System.Int32& count) (at C:/buildslave/unity/build/Editor/Mono/Collab/Softlocks/SoftlockData.cs:137)
UnityEditor.Collaboration.SoftLockData.TryHasSoftLocks (System.String assetGuid, System.Boolean& hasSoftLocks) (at C:/buildslave/unity/build/Editor/Mono/Collab/Softlocks/SoftlockData.cs:92)
UnityEditor.SoftlockViewController.HasSoftlocks (System.String assetGUID) (at C:/buildslave/unity/build/Editor/Mono/Collab/Softlocks/SoftlockViewController.cs:128)
UnityEditor.SoftlockViewController.DrawProjectBrowserGridUI (UnityEngine.Rect iconRect, System.String assetGUID, System.Boolean isListMode) (at C:/buildslave/unity/build/Editor/Mono/Collab/Softlocks/SoftlockViewController.cs:229)
UnityEditor.ObjectListArea+LocalGroup.DrawItem (UnityEngine.Rect position, UnityEditor.FilteredHierarchy+FilterResult filterItem, UnityEditor.BuiltinResource builtinResource, System.Boolean isFolderBrowsing) (at C:/buildslave/unity/build/Editor/Mono/ObjectListLocalGroup.cs:829)
UnityEditor.ObjectListArea+LocalGroup.DrawInternal (System.Int32 beginIndex, System.Int32 endIndex, System.Single yOffset) (at C:/buildslave/unity/build/Editor/Mono/ObjectListLocalGroup.cs:203)
UnityEditor.ObjectListArea+Group.Draw (System.Single yOffset, UnityEngine.Vector2 scrollPos, System.Int32& rowsInUse) (at C:/buildslave/unity/build/Editor/Mono/ObjectListGroup.cs:154)
UnityEditor.ObjectListArea.HandleListArea () (at C:/buildslave/unity/build/Editor/Mono/ObjectListArea.cs:1331)
UnityEditor.ObjectListArea.OnGUI (UnityEngine.Rect position, System.Int32 keyboardControlID) (at C:/buildslave/unity/build/Editor/Mono/ObjectListArea.cs:540)
UnityEditor.ObjectSelector.GridListArea () (at C:/buildslave/unity/build/Editor/Mono/ObjectSelector.cs:871)
UnityEditor.ObjectSelector.OnObjectGridGUI () (at C:/buildslave/unity/build/Editor/Mono/ObjectSelector.cs:859)
UnityEditor.ObjectSelector.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/ObjectSelector.cs:822)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
UnityEngine.UIElements.UIR.RenderChain.Render (UnityEngine.Rect topRect, UnityEngine.Matrix4x4 projection) (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRChainBuilder.cs:238)
UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect topRect, UnityEngine.Matrix4x4 projection) (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:66)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:54)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTree () (at C:/buildslave/unity/build/Modules/UIElements/VisualTreeUpdater.cs:72)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at C:/buildslave/unity/build/Modules/UIElements/Panel.cs:637)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:240)
UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:78)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
I am not sure what happened here. It was working fine, then all the sudden it just started doing this whenever I tried to look for a specific asset in the asset finder (usually on "onEvent" type of methods).
EDIT: A little research says its a Collaboration Cloud error, turning it off fixed it. However... this was supposed to be fixed quite a bit ago. Am I doing something wrong?
Your answer
Follow this Question
Related Questions
Unity Editor Error Build,Unity Editor Error build 0 Answers
Unity Editor CRashes Instantly after load (pls helps D:) 0 Answers
Error "ArgumentException: The Assembly System.Windows is referenced by GoogleAds" 0 Answers
Canvas Error - Everything tinted blue 2 Answers
InvalidOperationException: Operation is not valid due to the current state of the object System 1 Answer