0
Unity Bug

Console Spam: Value cannot be null. Parameter name: assetGuid

Marshall Brooks 3 years ago updated by Lazlo Bonin (Lead Developer) 3 years ago 1


Clicking the little circle to the right of the target GameObject (to bind it to another object) opens an empty window and spams my console with /// 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:1364)
UnityEditor.ObjectListArea.OnGUI (UnityEngine.Rect position, System.Int32 keyboardControlID) (at C:/buildslave/unity/build/Editor/Mono/ObjectListArea.cs:564)
UnityEditor.ObjectSelector.GridListArea () (at C:/buildslave/unity/build/Editor/Mono/ObjectSelector.cs:776)
UnityEditor.ObjectSelector.OnObjectGridGUI () (at C:/buildslave/unity/build/Editor/Mono/ObjectSelector.cs:764)
UnityEditor.ObjectSelector.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/ObjectSelector.cs:725)
System.

Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Unity Bug

That is a Unity bug, apparently unrelated to Bolt (and maybe related to Collaborate or source control?.

I suggest you report it on the forums or in the Unity bug reporter.