Skip to content

Commit 440a002

Browse files
committed
Fix some packages not importing
Apparently a .unitypackage extension is *sometimes* necessary for Unity to import packages successfully. So make sure our temporary file always has that..
1 parent ceb804f commit 440a002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Editor/UnityPM.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ private void InstallNext(bool success, List<Installable>.Enumerator enumerator)
354354
}
355355
else
356356
{
357-
string tmpPath = $"{settings.CacheDirectory}/downloading";
357+
string tmpPath = $"{settings.CacheDirectory}/downloading.unitypackage";
358358
file.GetWebClient().DownloadFile(file.GetURI(), tmpPath);
359359
installQueueStatus[enumerator.Current] = InstallStatus.Installing;
360360

0 commit comments

Comments
 (0)