Projeny icon indicating copy to clipboard operation
Projeny copied to clipboard

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

Open brunoleos opened this issue 9 years ago • 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.

brunoleos avatar Jan 18 '17 15:01 brunoleos

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

svermeulen avatar Jan 18 '17 16:01 svermeulen

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

brunoleos avatar Jan 18 '17 21:01 brunoleos

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

svermeulen avatar Jan 18 '17 22:01 svermeulen

This might be fixed in 0.3.7

svermeulen avatar Feb 10 '17 16:02 svermeulen