Unity报错:Microsoft Visual C# Compiler version

Unity报错:Microsoft Visual C# Compiler version

问题

Microsoft ® Visual C# Compiler version 2.9.1.65535 (9d34608e) Copyright © Microsoft Corporation
切换版本或者使用老项目的时候可能会出现这个报错,这个报错就是项目设置的问题

解决方案

打开Edit->Project Settings
在这里插入图片描述
Project Settings->Other Settings->Api Compatibility Level切换成.NET 4.x
在这里插入图片描述

总结

有问题或者解决不了的可以留言,感谢支持

猜你喜欢

转载自blog.csdn.net/qq_42194657/article/details/134063940
今日推荐