This asset only for Android.
Find Wi-Fi MAC address. Worked on Android 4, 5, 6, 7, 8. Worked on Oculus GO with Android 7.1
If it does not work, write me, fix it. Asset has an example scene.
DEMO Apk for check on device: http://info.littlestories.ru/FindMAC.apk
To provide users with greater data protection, starting in this release, Android removes programmatic access to the device’s local hardware identifier for apps using the Wi-Fi and Bluetooth APIs. The WifiInfo.getMacAddress() and the BluetoothAdapter.getAddress() methods now return a constant value of 02:00:00:00:00:00.
To access the hardware identifiers of nearby external devices via Bluetooth and Wi-Fi scans, your app must now have the ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION permissions.
I added ACCESS_FINE_LOCATION to my manifest file and called the FindMAC.Scripts.FindMACClass.GetMACAddress() method after building, but nothing is returned. No rogcat errors were found