Xml异常:预期';' (3B),但发现 '/' (2F) 统一



在Unity中启动新项目时,我收到了此错误消息。重新安装Unity不起作用。不知道这是否相关,但VS2017也没有看到Unity。

XmlException: expected ';' (3B) but found '/' (2F)  Line 58, position 39.
Mono.Xml2.XmlTextReader.Expect (Int32 expected)
Mono.Xml2.XmlTextReader.ReadEntityReference (Boolean ignoreEntityReferences)
Mono.Xml2.XmlTextReader.ReadReference (Boolean ignoreEntityReferences)
Mono.Xml2.XmlTextReader.ReadText (Boolean notWhitespace)
Mono.Xml2.XmlTextReader.ReadContent ()
Mono.Xml2.XmlTextReader.Read ()
System.Xml.XmlTextReader.Read ()
Mono.Xml.XmlFilterReader.Read ()
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)

如果您的用户名或包含项目的文件夹结构中有一个&字符,就会发生这种情况。请使用其他用户,和/或重命名有问题的文件夹。

最新更新