Unity
靑岚
这个作者很懒,什么都没留下…
展开
-
Git分支常用语句 [备忘用]
只提交某文件夹的代码//提交Assets文件夹下的改动git add ./Assetsmerge 全盘接受//全盘接受本地git merge --strategy-option ours//全盘接受远程git merge --strategy-option theirs把其它分支的部分文件拉过来当前在branch A先pull一下确认branch A上是最新的然后我需要把branch B的文件夹Assets 拉到branch A上。git checkout branchB ./原创 2020-12-23 16:16:50 · 119 阅读 · 0 评论 -
[Unity] 串口读取数据错误 IOException: 拒绝访问。
错误内容IOException: 拒绝访问。 System.IO.Ports.WinSerialStream.ReportIOError (System.String optional_arg) (at <14e3453b740b4bd690e8d4e5a013a715>:0) System.IO.Ports.WinSerialStream…ctor (System.String port_name, System.Int32 baud_rate, System.Int32 data_bit原创 2020-08-26 12:37:31 · 4252 阅读 · 0 评论 -
[HoloLens+Unity]在HoloLens绘制矩形框
问题想在Hololens中实现绘制矩形框的功能,但是使用GUI,以及GL画图后不生效(可能是我使用方法有误),后来在MRTK的官方文档中看到的画图的实例。(还是得好好看文档和官方示例)解决方案使用微软官方的虚拟现实开发工具MRTK中的示例包,下载链接如下。https://connect.unity.com/p/mrtkzhong-wen-wen-dang-yi-kai-shi-shi-yong-mrtk.除了按照说明安装fundation包之外,把下面这个Examples包也下载并且导入项目然后原创 2020-08-17 15:00:31 · 359 阅读 · 0 评论 -
[Hololens+Unity]UnityEngine.XR.WSA.WebCam报错
错误信息:Assets \ MixedRealityToolkit.LightingTools \ CameraCapture \ CameraCaptureUWP.cs(10,26):错误CS0234:类型或名称空间名称’WebCam’在名称空间’UnityEngine.XR.WSA’中不存在(您是否缺少程序集引用?)错误原因将WebCam移到了另一个名称空间,它现在在UnityEngine.Windows.WebCam下。修改方式改为using UnityEngine.Windows.We原创 2020-08-12 13:49:04 · 910 阅读 · 0 评论 -
XR: OpenVR Error! OpenVR failed initialization with error code VRInitError_Init_PathRegistryNotFound
XR: OpenVR Error! OpenVR failed initialization with error code VRInitError_Init_PathRegistryNotFound问题描述当我在Unity中运行场景时,出现以下错误:'VR:OpenVR错误!OpenVR初始化失败,错误代码为VRInitError_Init_PathRegistryNotFound:“找不到...原创 2020-01-27 21:17:37 · 12635 阅读 · 17 评论 -
[unity] build项目报错:Currently selected scripting backend (.NET)is not installed
[Unity] Currently selected scripting backend .NET is notinstalledUnity build项目报错,没有安装 .NET问题概况Unity 附加模块visual studio 的 各种.NET插件Unity build项目报错,没有安装 .NET问题概况在build使用在Hololens上的项目时,遇到这么一个配置环节:把设置里面...原创 2019-11-10 15:39:10 · 4531 阅读 · 0 评论 -
【unity】error: Could not establish a connection with the Unity Package Manager local server process
Unity报错:Could not establish a connection with the Unity Package Manager local server process报错:报错内容报错:试了很多种方法,最后用谷歌在某个论坛搜到是unity hub搞的鬼。由于hub对2018版本不支持,所以打不开。报错内容Could not establish a connection ...原创 2019-11-07 15:06:35 · 7697 阅读 · 6 评论