We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4e914f commit ccb8642Copy full SHA for ccb8642
UnityProjectBrowser/Parsers/UnityAssetParser.cs
@@ -49,6 +49,12 @@ public override void ParseFile(string absolutePath)
49
foreach (YamlDocument document in stream.Documents)
50
{
51
YamlMappingNode documentNode = (YamlMappingNode)document.RootNode;
52
+ if (documentNode.Anchor == null)
53
+ {
54
+ // might be a JSON file (XRSettings.asset), skip for now
55
+ continue;
56
+ }
57
+
58
long fileId = long.Parse(documentNode.Anchor);
59
UnityObjectKey key = new UnityObjectKey(guid, fileId);
60
KeyValuePair<YamlNode, YamlNode> rootNode = documentNode.Children.First();
0 commit comments