diff --git a/Assets/Scripts/App.cs b/Assets/Scripts/App.cs index c565941f35..9e3da37c64 100644 --- a/Assets/Scripts/App.cs +++ b/Assets/Scripts/App.cs @@ -481,7 +481,7 @@ void DestroyIntroSketch() Resources.UnloadUnusedAssets(); } - static string GetStartupString() + public static string GetStartupString() { string str = $"{App.kAppDisplayName} {Config.m_VersionNumber}"; diff --git a/Assets/Scripts/Debug/ProfilingManager.cs b/Assets/Scripts/Debug/ProfilingManager.cs index 22d0364035..41f7e51a4f 100644 --- a/Assets/Scripts/Debug/ProfilingManager.cs +++ b/Assets/Scripts/Debug/ProfilingManager.cs @@ -216,6 +216,7 @@ private void OutputStats() string branch = GitUtils.GetGitBranchName(); message.AppendLine($"Git branch: {branch}"); #endif + message.AppendLine($"Build: {App.GetStartupString()}"); message.AppendLine($"Profile name: {profileName} Filename: {fileName} Human name: {humanName}"); if (App.UserConfig.Profiling.PerfgateOutput)