diff --git a/CHANGELOG.md b/CHANGELOG.md index 5242401b..6bc8d47f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,8 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - [#459] "Proxy object was destroyed improperly! Resetting pipeline..." error appears frequently - - [#460] Preview system fails to recover when the primary proxy is destroyed +- [#462] NDMF console fails to appear when an ExtensionContext throws an exception ### Changed diff --git a/Editor/ErrorReporting/UI/ErrorReportWindow.cs b/Editor/ErrorReporting/UI/ErrorReportWindow.cs index 8fd77207..18121993 100644 --- a/Editor/ErrorReporting/UI/ErrorReportWindow.cs +++ b/Editor/ErrorReporting/UI/ErrorReportWindow.cs @@ -263,7 +263,7 @@ private void UpdateContents() _errorList.style.display = DisplayStyle.Flex; _errorList.Clear(); - var errors = _report.Errors.OrderBy(e => e.Plugin.DisplayName).ToList(); + var errors = _report.Errors.OrderBy(e => e.Plugin?.DisplayName).ToList(); PluginBase lastPlugin = null; foreach (var error in errors) diff --git a/Editor/ErrorReporting/UI/GroupHeader.cs b/Editor/ErrorReporting/UI/GroupHeader.cs index fb23eb46..fbb04fa1 100644 --- a/Editor/ErrorReporting/UI/GroupHeader.cs +++ b/Editor/ErrorReporting/UI/GroupHeader.cs @@ -21,7 +21,7 @@ public GroupHeader(PluginBase plugin) var titleElem = this.Q