If I install realm via NuGet unity throws the next strange error.
Library/PackageCache/com.unity.scriptablebuildpipeline@1.21.21/Editor/Shared/BuildTasksRunner.cs(28,29): error CS0117: ‘BuildLogger’ does not contain a definition for ‘LogException’
and
error CS1061: ‘ILogger’ does not contain a definition for ‘Log’ and no accessible extension method ‘Log’ accepting a first argument of type ‘ILogger’ could be found (are you missing a using directive or an assembly reference?)