I am having the exact same problem. Used to work fine before the update of June the 2nd. And because I am a new user I cannot upload attachments :L
When I use the preview function in Adobe XD the buttons work fine and bring me to the right page (artboard), but as soon as I export both artboards and open them in chrome it no longer works.
To correct the issue you must select webexport / panel. Click on the element with the link.
Erase the name of the link in the Hyperlink property and select it another time in the list of hyperlink property and save your file.
OK there is a bug in the goToTargetView() call that makes some hyperlinks not work.
This line:
var targetState = self.getStateNameByViewId(targetView.id);
Should be this:
var targetState = targetView ? self.getStateNameByViewId(targetView.id) : null;
To fix this you can overload the JavaScript method if you know how to do that, you may be able to use the old view.js if you know how to do that (shown below), you can manually type in the hyperlink page name (when linking to another page or site), you can link in the updated view.js or you can wait for a patch (1-3 weeks).
I recommend using the updated view.js (overwriting the exported).
Here is the updated view.js.
Method 1 - Update view.js
Download view.js.zip
Unzip it
Open Export Artboard dialog
Click External JS option
Export artboard
Copy updated view.js into export folder (overwrite)
If the link is to another page you can type in the name of the page in the hyperlink field. It must be the final page name (so spaces are usually removed).