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 best solutions below
Related Questions in UNITY-GAME-ENGINE
- Using arrow keys to rotate an object
- know object behind another object is fully visible
- Unity3d AudioSource not creatable
- Unity3d - Input.GetKey returns true more than once
- Flurry Ads on Unity3D with Prime31 plugin
- Make screenshot of DirectX window that is hidden and doesn't have focus
- Coroutine being detected as inactive despite being active
- Unity3D: Adding charged force in relation to position
- Unity - Particles emitting non-random
- 3d mouse aim camera 3rd person vertical C#
- Unity: How would I go about creating a power up system?
- Unity - Gui Button issues (Android)
- Unity3d strange Collider behaviour
- Start() function doesn't work properly after Application.LoadLevel
- Gravity works weird
Related Questions in WINDOWS-10
- How to set a app tile properties for a Universal Windows App
- How to debug missing dlls on Windows 10
- does not implement interface member IComponentConnector2
- Eventrigger routed event for AppBarButton?
- How to achieve AlarmApplicationManager AlarmAccessStatus as AllowedWithWakeupCapability?
- Different views with different code behinds but one binary in Windows 10
- Windows 10 xaml Controls Centre Screen
- Is .Net Native automatically enabled on a Windows Store App in Visual Studio 2015 on Windows 10?
- IE compatibility Changing is not working in Windows10 using meta tag
- Compiled Binding Two way
- Programmatic access to USSD from the Windows 10 Desktop
- Windows RT XAML Controls - GridWrap Column autosizing to window size
- Visual Studio Enterprise RC 2015: Windows 10.0.10069 SDK etc install errors
- WP10 TP Unable to get License Information 0xC03F7000
- SystemMediaTransportControl GetForCurrentView() fails in audio background task on Desktop Device Family (UWP C#
Related Questions in DESKTOP.INI
- Wscript to batch edit desktop.ini for multiple folders
- Windows 7 desktop.ini shared folder removal script bug
- FileUtils.copyDirectory() error with thumbs.db/desktop.ini (Access denied) java
- Is there a way to only update one folder's desktop.ini?
- Can't get rid of desktop.ini file in Unity project
- os.listdir() showing file actually not in the folder on Python and Windows
- Is there a way on OS X just like SHSetLocalizedName() on Windows OS?
- How to set a folder as system folder
- How to set the system attribute of each folder that contains a desktop.ini?
- Shell Script for modifying desktop.ini file
- Changing folder icon with ini4j gives access denied exception
- Update folder icon with desktop.ini & instantly change (C++)
- problem changing folder icons using desktop.ini
- Elif statement Misbehaving and open desktop.ini again and again. Why?
- 'desktop.ini' prevents git garbage collector to repack
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)
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?
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!