Error with Mac Build

I’m trying to export a Mac build of my current project, and unity keeps spitting out the least helpful error message of all time.

Error building Player: IOException: Win32 IO returned ERROR_INVALID_NAME. Path:

I can successfully complete a windows standalone as well as linux, but mac fails. Other projects don’t seem to have this issue, but there’s really nothing for me to go on as to what might be the problem. I only have unity available on two PC systems, but they both fail to export a mac build. I tried doing a reimport all assets, but it didn’t resolve it. Other projects are able to export properly, but I can’t figure out what’s wrong with this one.

I was unable to find any information about this error at all. Is anyone knowledgeable about what might cause this error?

The error is caused by symbols in the project name. My project had a ‘?’ in the game title, which prevented the Mac build from compiling. Building it and then changing the CFBundleName field in Info.plist to the correct title works.

i was getting " IOException: Win32 IO returned ERROR_ALREADY_EXISTS. Path: " because i named the project with a dot “.” on the system settings (company name and game name), seems that mac file system uses the dot as special character for some system files , and unity was not able create the build , still don’t get why cause the file name was a normal name, but seems that unity uses those fields ( company and game names) to name some files inside the hidden files of the build … ?