Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unity Build Error `DirectoryNotFoundException`

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 Error.

like image 495
Youssof H. Avatar asked Aug 11 '18 13:08

Youssof H.


1 Answers

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.

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

  • Close Unity

  • Delete Library and Temp folders

  • Open Unity


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

like image 191
Bizhan Avatar answered Sep 18 '22 15:09

Bizhan