This button have some enable rules so I thought it maybe related to that when I tried to debug command bar I was not able to see that butter there as well. But this button was visible in the other environment environment like below
While dong troubleshooting on this I found this KB article. Based on this article if we are facing following issues:
> A button on the command bar is hidden when it should be visible.
> A button on the command bar is visible when it should be hidden.
> A button on the command bar is not working correctly.
Once regeneration process is completed, we have to clear browser cache after that we should be able to see our button and it worked for us.
If you facing issue issue like above you can regenerate metadata for fixing such issue. But before this make sure to check all the rule that you have for the button just to confirm if your button is not hidden due to that logic. you can debug command bar for that.
Want to know how to debug command bar check our earlier post for the same.
Hope it will help someone !!
Keep learning and Keep Sharing !!