XmlException:预期的“;” (3B)但发现'/'(2F)统一

时间:2018-08-04 18:24:55

标签: c# unity3d

在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)

1 个答案:

答案 0 :(得分:2)

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