Assets\unity-chan!\Unity-chan! Model\Scripts\AutoBlink.cs(8,23): error CS0234: The type or namespace

问题:

在导入unity的免费人物模型unity chan之后,系统报错Assets\unity-chan!\Unity-chan! Model\Scripts\AutoBlink.cs(8,23): error CS0234: The type or namespace 'policy' does not exists in the namespace 'System.Security'(are you missing an assembly reference?)Assets\unity-chan!\Unity-chan! Model\Scripts\AutoBlink.cs(8,23): error CS0234: The type or namespace

 

解决:

我们的模型unity chan_dynamic  在【Assets】【unity-chan! Model】【Prefabs】下

我们可以找到报错路径里的AutoBlink.cs文件,用记事本或其他编辑软件打开,将using System.Security.Policy;这句代码删掉之后保存,就可以了。如下图。

Assets\unity-chan!\Unity-chan! Model\Scripts\AutoBlink.cs(8,23): error CS0234: The type or namespace