If you've ever copied files across without their metadata, your linkage is going to be busted. So for example if you originally copied NGUI from project A to project B just by using the Windows Explorer, then you've screwed up the linkage.
When you export a unity package, meta data is saved even if you don't have it enabled, so it works fine. When exporting a package, make sure "include dependencies" is not on.