diff --git a/CHANGELOG-PRERELEASE.md b/CHANGELOG-PRERELEASE.md index 68bd4b2f8..6344ee2e6 100644 --- a/CHANGELOG-PRERELEASE.md +++ b/CHANGELOG-PRERELEASE.md @@ -18,6 +18,7 @@ The format is based on [Keep a Changelog]. ### Removed ### Fixed +- Error is not cleared on build `#170` ### Security diff --git a/CHANGELOG.md b/CHANGELOG.md index a2fea92a7..d2080909e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ The format is based on [Keep a Changelog]. ### Removed ### Fixed +- Error is not cleared on build `#170` ### Security diff --git a/Internal/ErrorReporter/Editor/ErrorReportingInitializerProcessor.cs b/Internal/ErrorReporter/Editor/ErrorReportingInitializerProcessor.cs index 3b9d46c7d..24a193036 100644 --- a/Internal/ErrorReporter/Editor/ErrorReportingInitializerProcessor.cs +++ b/Internal/ErrorReporter/Editor/ErrorReportingInitializerProcessor.cs @@ -13,6 +13,7 @@ internal class ErrorReportingInitializerProcessor : IVRCSDKPreprocessAvatarCallb public bool OnPreprocessAvatar(GameObject avatarGameObject) { + BuildReport.Clear(); BuildReport.CurrentReport.Initialize(avatarGameObject.GetComponent()); return true; }