Skip to content

Commit

Permalink
Changed to force user to manually refresh to avoid out of memory issues
Browse files Browse the repository at this point in the history
  • Loading branch information
svermeulen committed Feb 10, 2017
1 parent 9c68a55 commit 52c5c90
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion UnityPlugin/Projeny/Main/PrjHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ public static bool UpdateLinks()
{
var result = PrjInterface.RunPrj(PrjInterface.CreatePrjRequest("updateLinks"));

AssetDatabase.Refresh();
// This sometimes causes out of memory issues for reasons unknown so just let user
// manually refresh
//AssetDatabase.Refresh();

if (!result.Succeeded)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ public IEnumerator ProcessPrjCommand(string statusName, IEnumerator prjTask)
// Refresh assets regardless of what kind of PrjCommand this was
// This is good because many commands can affect the project
// Including installing a package, deleting a package, etc.
AssetDatabase.Refresh();

// This sometimes causes out of memory issues for reasons unknown so just let user
// manually refresh for now
//AssetDatabase.Refresh();

_view.BlockedStatusMessage = null;

Expand Down

0 comments on commit 52c5c90

Please sign in to comment.