It sounds like there is an empty record in the plugin_name column of your database that is triggering the Unique validation to fail if the field is left blank.
the unique validation error will only show if that validation has failed. The required validation wont trigger it to show. so it must be finding a blank value in the database that is triggering it.
make sure there are no blanks in the plugin_name column