unity报错Certificate Assets\WSATestCertificate.pfx is expired and cannot be used for a UWP build

unity打包报错,目标文件夹是空的,报错代码如下:
InvalidOperationException: Certificate Assets\WSATestCertificate.pfx is expired and cannot be used for a UWP build. To fix this, either delete it or select a different certificate in the player settings.
PostProcessWinRT.CreateTestCertificate () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1078)
PostProcessWinRT.Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:168)
UnityEditor.UWP.BuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ExtensionModule.cs:86)
Rethrow as BuildFailedException: Exception of type ‘UnityEditor.Build.BuildFailedException’ was thrown.

分析以后应该是这个项目的WSA证书过期了。解决办法:

hololens2实现5G模块有线连接

众所周知原版hololens是没有5G模块的,它使用的芯片是高通骁龙850,高通骁龙850实际上是不具备5G基带的,当年也需要外挂X50基带才可以实现5G,更别说hololens2设计的时候可能原生就没有5G基带。后面有说要推出5G版本hololens,但最后还是鸽没了。
所以Hololens2如果想要实现户外功能就必须要自己加装5G模块,
于是博主斥巨资购入ZTE中兴 F50 5G上网模块(399元),这个好处是可以插入自己的5G SIM卡,切换自由。这款5G module的USB接口是typec usb3.0的,配合USB3.0+的数据线可以实现3750mb/s的数据传输,也就是3.7G左右的接口传输速率。

[unity] implementation after clicking a button, delay and switch the background image/interface

There might be a better way, but so far I’ve found that you can do this, and you can try other ways.

 

Goal: In UNITY, after clicking a button, three screens (or Raw images) appear in sequence: the first screen appears 1 second later, the second screen appears 3 seconds later and the first screen disappears, and the third screen appears 3 seconds later and the second screen disappears. The first step is to create a C# script in Assets, let’s name it delaydisplay3, double-click visual studio to open the edit.

unity实现点击按钮多次延迟切换背景图片/界面

本人学习了一下的小白写法,可能有更好的方式,但是目前我发现可以这么做,大家也可以试试其他方法。

目标:在UNITY中,点击按钮后,有三个界面(或Raw image)依次显示:第一个界面延迟1秒出现,第二个界面延迟3秒出现且第一个界面消失,第三个界面再延迟3秒出现且第二个界面消失。

首先是在Assets里面新建一个C#脚本,我们就命名为delaydisplay3吧,双击打开visual studio进行编辑。

How does UNITY remove plugins or packages

Plug-ins in unity are called packages or packages. In the development of hololens, it is often necessary to delete conflicting plug-ins due to various plug-in conflicts. For example, MRTK3 and MRTK2 plugins will conflict. So you need to use the following method to remove conflicting plug-ins.

Click on the menu bar window — Package Manager — select the package you want to delete and click remove. If it doesn’t work, just restart the editor and recompile it.