From 1b38431522cdd9d66469c11aed8c76dece42d4b2 Mon Sep 17 00:00:00 2001 From: Konrad Dysput Date: Wed, 7 Feb 2024 13:19:28 +0100 Subject: [PATCH] Check if the device is type null (#206) --- Runtime/Model/Attributes/MachineAttributeProvider.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Runtime/Model/Attributes/MachineAttributeProvider.cs b/Runtime/Model/Attributes/MachineAttributeProvider.cs index d085f8b3..34b51de4 100644 --- a/Runtime/Model/Attributes/MachineAttributeProvider.cs +++ b/Runtime/Model/Attributes/MachineAttributeProvider.cs @@ -83,8 +83,7 @@ private void IncludeOsInformation(IDictionary attributes) private void IncludeGraphicCardInformation(IDictionary attributes) { // if a graphic card is not available - if (SystemInfo.graphicsDeviceType == null) - + if (SystemInfo.graphicsDeviceType == UnityEngine.Rendering.GraphicsDeviceType.Null) { return; }