MSBuildForUnity
MSBuildForUnity copied to clipboard
Fix Utilities.cs crash with Unix directory separator
On macOS (and probably on Linux) GetAssetImporter
crashes because it expects backslashes in paths, but gets forward slashes. As far as I can tell this code path is only triggered when there is a .csproj
file in a Unity Package Manager dependency of your Unity project. This PR uses the platform-native separator character instead of hardcoded backslash.