Now if upgradable weapon have any attachments or mods, the upgrade will be blocked and a corresponding message will be shown. To unlock the upgrade you must remove all attachments or mods from the weapon firstly, after upgrade you can attach all this back