
XmlException: 'summary' is expected
This error started appearing every so often in my console today while I was working. It doesn't seem to be causing any problems, but it's showing up every couple minutes or so while I work (editor and play mode). I think it's Bolt-related, but I'm not sure:
XmlException: 'summary' is expected file:///C:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.CoreModule.xml Line 17230, position 15.
Mono.Xml2.XmlTextReader.Expect (System.String expected)
Mono.Xml2.XmlTextReader.ReadEndTag ()
Mono.Xml2.XmlTextReader.ReadContent ()
Mono.Xml2.XmlTextReader.Read ()
System.Xml.XmlTextReader.Read ()
Mono.Xml.XmlFilterReader.Read ()
Mono.Xml.XmlFilterReader.Read ()
System.Xml.XmlReader.ReadEndElement ()
System.Xml.Linq.XElement.LoadCore (System.Xml.XmlReader r, LoadOptions options)
System.Xml.Linq.XNode.ReadFrom (System.Xml.XmlReader r, LoadOptions options)
System.Xml.Linq.XContainer.ReadContentFrom (System.Xml.XmlReader reader, LoadOptions options)
System.Xml.Linq.XElement.LoadCore (System.Xml.XmlReader r, LoadOptions options)
System.Xml.Linq.XNode.ReadFrom (System.Xml.XmlReader r, LoadOptions options)
System.Xml.Linq.XContainer.ReadContentFrom (System.Xml.XmlReader reader, LoadOptions options)
System.Xml.Linq.XElement.LoadCore (System.Xml.XmlReader r, LoadOptions options)
System.Xml.Linq.XNode.ReadFrom (System.Xml.XmlReader r, LoadOptions options)
System.Xml.Linq.XContainer.ReadContentFrom (System.Xml.XmlReader reader, LoadOptions options)
System.Xml.Linq.XElement.LoadCore (System.Xml.XmlReader r, LoadOptions options)
System.Xml.Linq.XNode.ReadFrom (System.Xml.XmlReader r, LoadOptions options)
System.Xml.Linq.XContainer.ReadContentFrom (System.Xml.XmlReader reader, LoadOptions options)
System.Xml.Linq.XElement.LoadCore (System.Xml.XmlReader r, LoadOptions options)
System.Xml.Linq.XNode.ReadFrom (System.Xml.XmlReader r, LoadOptions options)
System.Xml.Linq.XContainer.ReadContentFrom (System.Xml.XmlReader reader, LoadOptions options)
System.Xml.Linq.XDocument.ReadContent (System.Xml.XmlReader reader, LoadOptions options)
System.Xml.Linq.XDocument.LoadCore (System.Xml.XmlReader reader, LoadOptions options)
System.Xml.Linq.XDocument.Load (System.String uri, LoadOptions options)
System.Xml.Linq.XDocument.Load (System.String uri)
Ludiq.XmlDocumentation.GetDocumentationUncached (System.Reflection.Assembly assembly) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Editor/Documentation/XmlDocumentation.cs:126)
Ludiq.XmlDocumentation.BackgroundWork () (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Editor/Documentation/XmlDocumentation.cs:49)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
Ludiq.BackgroundWorker+<>c__DisplayClass0_0.<.cctor>b__4 () (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Editor/Threading/BackgroundWorker.cs:55)
Ludiq.BackgroundWorker.Work () (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Editor/Threading/BackgroundWorker.cs:142)
UnityEngine.Debug:LogException(Exception)
Ludiq.<>c__DisplayClass21_0:<Work>b__0() (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Editor/Threading/BackgroundWorker.cs:146)
UnityEditor.EditorApplication:Internal_CallDelayFunctions()
Customer support service by UserEcho
This error indicates that there is a malformed XML documentation file. Apparently, this is a file generated by Unity, located at: C:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.CoreModule.xml
This is not related to Bolt. I suggest you submit a bug report to Unity about this issue if it is reoccurring.
In the mean time, you can also try opening and fixing the file at line 17230 and fixing the structure manually. Worst case, some of the in-editor documentation might not be available, but as you noticed, this doesn't cause any serious issue.