Hi @cryptotrey,
We have found an error in Upgrades Plugins for Truffle and Hardhat. Users of the flag unsafeAllowCustomTypes
should update their dependencies to the latest version.
See post for more details: Problem in Upgrades Plugins for users of unsafeAllowCustomTypes.