diff --git a/Runtime/Common/SystemHelper.cs b/Runtime/Common/SystemHelper.cs
index 2169caac..75bd2304 100644
--- a/Runtime/Common/SystemHelper.cs
+++ b/Runtime/Common/SystemHelper.cs
@@ -64,7 +64,7 @@ internal static bool IsLibraryAvailable(string[] libraries)
///
/// System architecture
/// System name
- internal static string Name(string architecture)
+ internal static string Name()
{
#pragma warning disable CS0618 // Type or member is obsolete
switch (Application.platform)
@@ -80,9 +80,9 @@ internal static string Name(string architecture)
case RuntimePlatform.OSXPlayer:
return "Mac OS";
case RuntimePlatform.PS3:
- return "PS3";
+ return "ps3";
case RuntimePlatform.PS4:
- return "PS4";
+ return "ps4";
case RuntimePlatform.TizenPlayer:
case RuntimePlatform.SamsungTVPlayer:
return "Samsung TV";
@@ -93,7 +93,7 @@ internal static string Name(string architecture)
case RuntimePlatform.WiiU:
return "WiiU";
case RuntimePlatform.Switch:
- return "Switch";
+ return "switch";
case RuntimePlatform.WindowsEditor:
case RuntimePlatform.WindowsPlayer:
case RuntimePlatform.WSAPlayerARM:
@@ -104,7 +104,7 @@ internal static string Name(string architecture)
case RuntimePlatform.XboxOne:
return "Xbox";
default:
- return "NaCl";
+ return Application.platform.ToString();
}
}
diff --git a/Runtime/Model/JsonData/BacktraceAttributes.cs b/Runtime/Model/JsonData/BacktraceAttributes.cs
index 504173d7..3df6aca9 100644
--- a/Runtime/Model/JsonData/BacktraceAttributes.cs
+++ b/Runtime/Model/JsonData/BacktraceAttributes.cs
@@ -279,7 +279,7 @@ private void SetMachineAttributes(bool onlyBuiltInAttributes = false)
Attributes["uname.machine"] = cpuArchitecture;
}
//Operating system name = such as "windows"
- Attributes["uname.sysname"] = SystemHelper.Name(cpuArchitecture);
+ Attributes["uname.sysname"] = SystemHelper.Name();
//The version of the operating system
Attributes["uname.version"] = Environment.OSVersion.Version.ToString();