unity导进项目报错:

error CS1644: Feature `null propagating operator’ cannot be used because it is not part


如果Unity是2018及以上的版本,可在Edit->ProjectSettings->Player->Other Settings的Configuration下修改Scripting Runtime Version*的版本设置为 .Net 4.x Equivalent 即可,根据提示重启Unity即可。

猜你喜欢

转载自blog.csdn.net/weixin_42205218/article/details/105957653