Disable case sensitivity for WSL (Windows Subsystem for Linux)

I ren in to an issue opening a Unity3D project while setting up my windows machine for game development.

The project is on case sensitive file system.Case sensitive files systems are not supported at the moment.Please move the project folder to a case insensitive file system.

This Unity project was cloned with git cli on WSL, this might have caused some issues with files that have case sensitive names since Ubuntu is case sensitive by default and Windows 10 is not.

This behavior can be altered by editing the /etc/wsl.conf file to include:

    options = "case=off"

Make sure to un-mount and remount or restart the pc for the changes to take effect.

Per-directory case sensitivity

You can check case sensitivity with of a folder with fsutil.exe file queryCaseSensitiveInfo <path>.

To change a folder sensitivity to disabled use fsutil.exe file setCaseSensitiveInfo <path> disable and to enable it again use fsutil.exe file setCaseSensitiveInfo <path> enable.

Leave a Reply