JetBrains / resharper-unity

Unity support for both ReSharper and Rider
Apache License 2.0
1.21k stars 134 forks source link

1.6.0 forces rebuild of all metafiles, losing all reference between assets #118

Closed josephbaril closed 7 years ago

citizenmatt commented 7 years ago

Could you provide more details please? How can I reproduce this?

josephbaril commented 7 years ago

After upgrading to 1.6 from 1.5, resharper sends us a message that files have changed outside visualstudio. If we do not click ignore all, all metafiles are regenerated and the whole project becomes corrupted.

Do you need more details?

2017-03-08 15:17 GMT-05:00 Matt Ellis notifications@github.com:

Could you provide more details please? How can I reproduce this?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JetBrains/resharper-unity/issues/118#issuecomment-285156215, or mute the thread https://github.com/notifications/unsubscribe-auth/AE7UidiiKD1CSbb17lxDuWbEtl45c8c5ks5rjwzcgaJpZM4MXQOc .

--

citizenmatt commented 7 years ago

Yes please. What are you doing that causes the changed files message to pop up? Could you list repro steps, please?

josephbaril commented 7 years ago

The only thing I remember (I removed plugin now) was moving a class to an other folder. Then going back to unity, then back to visualstudio. Sorry those are all the steps I remember.

2017-03-08 15:50 GMT-05:00 Matt Ellis notifications@github.com:

Yes please. What are you doing that causes the changed files message to pop up? Could you list repro steps, please?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JetBrains/resharper-unity/issues/118#issuecomment-285164960, or mute the thread https://github.com/notifications/unsubscribe-auth/AE7UiWpzNOh3y8cWZu_Ro7k_7cvPvF2_ks5rjxSqgaJpZM4MXQOc .

--

citizenmatt commented 7 years ago

Ouch. Reproduced. The one scenario I didn't test, and it's a killer. Reloading a solution is reported as a bunch of file removes and then file adds, so I'm deleting all of the .meta files, and then creating them all again. Oh boy.

Thanks for reporting! And sorry for the inconvenience. I'll get this fixed ASAP.

josephbaril commented 7 years ago

Glad I was of some help. I'll check for the update, it's a cool plugin.

On Mar 8, 2017 5:14 PM, "Matt Ellis" notifications@github.com wrote:

Ouch. Reproduced. The one scenario I didn't test, and it's a killer. Reloading a solution is reported as a bunch of file removes and then file adds, so I'm deleting all of the .meta files, and then creating them all again. Oh boy.

Thanks for reporting! And sorry for the inconvenience. I'll get this fixed ASAP.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JetBrains/resharper-unity/issues/118#issuecomment-285186845, or mute the thread https://github.com/notifications/unsubscribe-auth/AE7UiVSn7abbGBonxHo6wBEUSh0M5yquks5rjygogaJpZM4MXQOc .

Silentor commented 7 years ago

I face the same issue. But I didnt suspect resharper-unity plugin is cause the mess :)

citizenmatt commented 7 years ago

Yep. Sorry. It's really evil. I think there's a quick fix, though. Testing now.

citizenmatt commented 7 years ago

New version to download for both Rider (Preferences → Plugins) and ReSharper (ReSharper → Extension Manager). Sorry about that everyone. That was a nasty bug.