unity 常见问题

Multiple plugins with the same name 'avprovideo' (found at 'Assets/CoreLibrary/Plugins/WSA/PhoneSDK81/x86/AVProVideo.dll' and 'Assets/CoreLibrary/Plugins/x86_64/AVProVideo.dll'). That means one or more plugins are set to be compatible with Editor. Only one plugin at the time can be used by Editor.

查找:是unity 中DLL重复引用,不能兼容,根据自己的unity版本,如果是64为,则保存x86_x64的DLL,其他的删除掉,可解决

2018.5.11
今天windows跟新后,一直开不了机,重设系统后,导致c盘有的dll丢失了,应用程序打不开,缺少msvcr100.dll,网上查资料,下载了后,放到了指定位置,但是任然有问题,最简单的方法是使用 DirectX修复工具来全部检查,修复。此链接https://pan.baidu.com/s/1nvIYAvB,无脑安装,修复即可

2018.2.14

在序列化结构体时,结构体中如果有数组,则报异常:类型GoPosion不能被编组为一个非托管结构

ArgumentException: Type GoPosion cannot be marshaled as an unmanaged structure.

Parameter name: t

System.Runtime.Inter

争论异常:类型GoPosion不能被编组为一个非托管结构。

解决方案:给数组加属性:    [MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)],参考链接http://www.codes51.com/itwd/4119330_2.html


2018.5.6

转一个常见unity问题 解决链接:http://www.xuebuyuan.com/zh-hant/2105551.html


猜你喜欢

转载自blog.csdn.net/qq_35433081/article/details/80269933