It could be possible that Microsoft changed the implementation and no longer accepts invalid URLS without knowing the scheme. Please just add code to check if HTTPS is added to your URL to solve the issue.
But why is there a difference between assigning a URL and the navigate function. According to the documentation it should behave the same. The different behavior started with the last version.