I recently had to move my unity project over to google drive for a couple weeks so I could continue work on my game. After moving it to google drive, windows 10 starting adding a desktop.ini file to all of the directories in the project folders. I have moved my project back to my desktop hard drive and I deleted all of the desktop.ini files. For some reason when I try to build my project I get an error that says "Invalid resource directory" and points to the path in my android-resources folder where a desktop.ini file keeps getting generated. It doesn't matter if I delete it or not because it gets generated every time I try to build the project. Any ideas?
Can't get rid of desktop.ini file in Unity project
1.3k views Asked by sabo At
1
There are 1 answers
Related Questions in UNITY-GAME-ENGINE
- How to use invokerepeating and make ui text fade in/out over time?
- Player input not working properly in unity
- Get block in Mesh Unity
- Does Unity render invisible material?
- Physics.OverlapSphere couldn't detect my ‘Player’
- Cannot sync non-player objects in Unity mirror
- How to script a simple collision using hands in OVRCameraRigInteraction?
- Drawing on 3D object at Unity
- How to Override Spline Rotation for Player-Controlled Car in Racing Game?
- Why doesn't my enemy shield take damage first. Instead both enemy and shield are being destroyed together
- unity + Vuforia balck screen in android AR app
- how do I change an objects tag when the game closes
- How to remove white space in a user's input through an input field in Unity?
- Timeline doesn't start eventhough it recognises the trigger input
- Ragdoll 2D Aiming
Related Questions in WINDOWS-10
- How to immediately apply DISPLAYCONFIG_SCALING display scaling mode with SetDisplayConfig and DISPLAYCONFIG_PATH_TARGET_INFO
- Spring @Scheduled cron fixed time doesn't work with OS suspension
- Swapping a healthy and unallocated partition in Windows 10
- Installing Docker on Windows 10
- Unexpected OS Shutdown
- Segfault GTK4 on windows 10
- FileSystemWatcher works reliably, unless I write to a log file
- IDT Audio Codec and Driver
- How can I use System.Security.Cryptography.ChaCha20Poly1305 on Windows 10?
- $WinREAgent folder keeps to automatically appear
- Powershell's InvokeVerb("delete") freezes after 22H2 update
- sdkmanager --list Exception in thread "main"
- Batch file wont run in Task Scheduler in Windows 10
- STM32 Not recognized by Windows 10
- C# X509Certificate2 private key disappear when GC occurs
Related Questions in DESKTOP.INI
- Is it possible to code a shell extension/property handler to enable editing of a directory's Comments/InfoTip via Details pane?
- What are the practical effects of setting the FILE_ATTRIBUTE_SYSTEM flag on a Windows folder?
- Automatically replace the folder icon with the icon of the exe-file inside the folder
- Custom icon to a link in USB Drive with relative path
- How To Remove the desktop.ini file from dataframe when using os Module in Python
- Is there a way to only update one folder's desktop.ini?
- For the use of the LocalizedResourceName property
- Desktop.ini files breaking node_modules
- Android Studio, Desktop.ini, The file name must end with .xml or .png
- Elif statement Misbehaving and open desktop.ini again and again. Why?
- problem changing folder icons using desktop.ini
- Update folder icon with desktop.ini & instantly change (C++)
- Automate displaying Attributes column in Windows File Manager
- 'desktop.ini' prevents git garbage collector to repack
- Change explorer columns in a network drive through desktop.ini
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Cloud storage is known for producing desktop.ini files with accompanying problems. When Windows creates a desktop.ini in a folder that Unity is attempting to package you'll get the "Invalid Resource Directory" error since it tries to bundle a file it doesn't expect.
You must prevent desktop.ini files from being generated. There are different methods but no guaranteed solutions. Try this registry change: http://jamesisin.com/a_high-tech_blech/index.php/2010/09/nevermore-be-bothered-by-desktop-ini/
Then move your project to another directory (make sure you've turned off any cloud Storage or similar as well).
If that doesn't work try finding other options for turning off desktop.ini generation. Good luck!