You could try this. It just worked for me.
Under Ultimate Member, go to Member Directories and select the directory you created and click edit. Under General Options, the first field is User Roles to Display. Hold down the shift key and select all of them. Then click “Update”. Refresh your page and see if users now appear.