- reports "Nothing selected" only when all objects has no selection and it is in Seperate type(Mode)
- Tested all types (Seperate/By Material/By loose parts)
- instead of using
BKE_view_layer_array_from_objects_in_edit_mode_unique_data
i used
BKE_view_layer_array_from_bases_in_edit_mode_unique_data
because it needs the "Base" not the "Object" itself...