modesttree/Projeny

MemoryStream gets corrupted after trying to update settings at Package Manager at Editor

brunoleos opened this issue · 4 comments

I get a "MemoryStream is corrupted" popup and exception, using Unity 5.4.2f2 and VS 2015. Projeny version is v0.3.6
projeny-memorystream_corrupt
I'm trying the sample projects. I open AllMovers-Windows, and try changing packages from Assets to Plugin Folder, and as I click Update Directories I get the exception.

I've also filled two bug reports to Unity about this issue, which may be related to a bug at the Unity Editor.

I can't seem to reproduce this one, though I only tested with unity 5.5

I checked a clean PrjLog.txt after the exception and have seem nothing unusual. This keeps happening here.

It's happening when it's calling AssetDatabase.Refresh which is a unity method. One workaround here would be to just comment this line out, recompile, then refresh manually

This might be fixed in 0.3.7