I did everything mentioned in the previous replies but, it didn't work.
Then I found this article, I installed the drivers provided in it and it worked after the restart. The drivers are primarily for Catalina but they worked with my BigSur beta install on the MacBook Pro 13 (2018)
link: plugable.com/2019/10/04/usb-ethernet-adapter-not-working-after-macos-catalina-10-15-update-we-can-help/