Skip to content

Commit 93a8f6d

Browse files
committed
Add support for embedded packages
1 parent fae0401 commit 93a8f6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Assets/MRTK/Tools/DependencyWindow/DependencyWindow.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,11 +312,12 @@ private void RefreshDependencyGraph()
312312

313313
dependencyGraph.Clear();
314314

315-
// Get all meta files from the assets and package cache directories.
315+
// Get all meta files from the assets and package cache directories.
316316
const string metaExtension = ".meta";
317317
var metaFiles = new List<string>();
318318
metaFiles.AddRange(Directory.GetFiles(Application.dataPath, "*" + metaExtension, SearchOption.AllDirectories));
319319
metaFiles.AddRange(Directory.GetFiles(Path.Combine(Directory.GetParent(Application.dataPath).FullName, "Library\\PackageCache"), "*" + metaExtension, SearchOption.AllDirectories));
320+
metaFiles.AddRange(Directory.GetFiles(Path.Combine(Directory.GetParent(Application.dataPath).FullName, "Packages"), "*" + metaExtension, SearchOption.AllDirectories));
320321

321322
for (int i = 0; i < metaFiles.Count; ++i)
322323
{

0 commit comments

Comments
 (0)