Gimble lock with Matrix to Quaternion to Rotation conversion from Matrix source data

Are you doing this in blueprints or C++?