How does RetroArch versions work with nightly builds on netplay?

The reason I am saying this is because it requires an specific version of RetroArch to use netplay so how do nightly builds work? Do you need to happen to have the same exact build of RetroArch as the other?..