项目报错:
1、DllNotFoundException: openvr_api:
把设置Player ->XR Settings -> Virtual Reality SDKs 中的OpenVR删除,重新添加一下就OK了,
2、Unity Package Manager消失的解决办法:
进入Assets同目录下的Library目录,删除PackageCache目录和ScriptAssemblies,重启Unity解决。
3、提示资源面板“Packages”少包:An error occurred while resolving packages: One or more packages could not be added to the local file system: com.unity.doc_zh:
鼠标右击“Packages”选择“Show in Explorer”删除文件“manifest.json”、“packages-lock.json”
4、打包时串口引用报错:
修改为.NET 4.x