Hi there, I am trying to display the device name (docs) by using Debug.Log(SystemInfo.deviceName);, and get the error 'SystemInfo' does not contain a definition for 'deviceName'. I am getting this error with all of the other properties (I don’t know if that’s what they’re called) in SystemInfo. There might be something I’m doing blatantly wrong
Full script:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Test : MonoBehaviour
{
void Start()
{
Debug.Log(SystemInfo.deviceName);
}
}
Could it be something to do with bad dll’s? In Rider the intellisense for Unity works, but doesn’t recognise any of the SystemInfo properties, nor does Code.