Get real compass direction

Hi guys

I’m trying the compass in unity, but is possible rotate a virtual object always with rotation similar to real north?
In this function i can get the value than the nord direction, but the rotation is different between unity system degree and compass.

transform.rotation = Quaternion.Euler(0, (Input.compass.magneticHeading), 0);

input.compass.magnt…is a float value.

Any suggestion?

Best regards

@mustang4484 Is the North calculated in degrees or radians?