Unity构建错误`DirectoryNotFoundException` [英] Unity Build Error `DirectoryNotFoundException`

查看:1132
本文介绍了Unity构建错误`DirectoryNotFoundException`的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么我不能构建我的项目,为什么会出现此错误? Wondershare与Unity相关吗?当我要在Android设备上构建应用程序时,为什么会出现此错误?任何帮助将不胜感激 .

Guys why I can't build my project why this error? Is wondershare related to Unity? Why I am having this error when I want to build my application on my android device? Any help would appreciated .

推荐答案

根据错误消息,看来Unity的构建管道正在尝试在不存在的文件夹中创建一个具有随机名称的临时文件.

According to the error message, it looks like Unity's build pipeline is trying to create a temporary file with a random name inside a folder which does not exist.

最有可能在build.gradle或项目的其他部分中缓存了某些信息.

It is most probable that some information is being cached in build.gradle or other parts of the project.

  • 关闭Unity

  • Close Unity

删除LibraryTemp文件夹

打开Unity

然后,如果遇到拒绝访问错误,请重新启动PC.

Afterwards, If you ran into an access denied error, restart your PC.

这篇关于Unity构建错误`DirectoryNotFoundException`的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆