Skip to content

Commit afda674

Browse files
authored
Fixed compiler error on Unity 6.5 (#49)
1 parent 955972c commit afda674

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Plugins/AssetUsageDetector/Editor/SearchResult.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ internal int SerializeRecursively( Dictionary<ReferenceNode, int> nodeToIndex, L
13681368
{
13691369
label = Label,
13701370
isMainReference = IsMainReference,
1371-
instanceId = instanceId ?? 0,
1371+
instanceId = instanceId ?? default,
13721372
isUnityObject = instanceId.HasValue,
13731373
usedState = usedState
13741374
};
@@ -1418,4 +1418,4 @@ public override int GetHashCode()
14181418
return uid;
14191419
}
14201420
}
1421-
}
1421+
}

0 commit comments

Comments
 (0)