Skip to content

[DX-3581] fix: game bridge file cannot be loaded with path has a space #410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sample/Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"url": "https://packages.unity.com"
},
"com.unity.nuget.newtonsoft-json": {
"version": "3.2.1",
"version": "3.2.0",
"depth": 1,
"source": "registry",
"dependencies": {},
Expand Down
4 changes: 2 additions & 2 deletions sample/ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ PlayerSettings:
androidMaxAspectRatio: 2.1
applicationIdentifier:
Android: com.immutable.ImmutableSample
Standalone: com.immutable.unitysample
Standalone: com.immutable.Immutable-Sample
iPhone: com.immutable.Immutable-Sample
buildNumber:
Standalone: 0
Expand Down Expand Up @@ -804,7 +804,7 @@ PlayerSettings:
allowUnsafeCode: 0
useDeterministicCompilation: 1
enableRoslynAnalyzers: 1
selectedPlatform: 3
selectedPlatform: 0
additionalIl2CppArgs:
scriptingRuntimeVersion: 1
gcIncremental: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public static string GetFilePath()
#elif UNITY_STANDALONE_OSX
// macOS
filePath = SCHEME_FILE + Path.GetFullPath(Application.dataPath) + MAC_DATA_DIRECTORY + PASSPORT_DATA_DIRECTORY_NAME + PASSPORT_HTML_FILE_NAME;
filePath = filePath.Replace(" ", "%20");
#elif UNITY_IPHONE && !UNITY_EDITOR
// iOS device
filePath = Path.GetFullPath(Application.dataPath) + PASSPORT_DATA_DIRECTORY_NAME + PASSPORT_HTML_FILE_NAME;
Expand All @@ -39,6 +38,7 @@ public static string GetFilePath()
#else
filePath = SCHEME_FILE + Path.GetFullPath(Application.dataPath) + PASSPORT_DATA_DIRECTORY_NAME + PASSPORT_HTML_FILE_NAME;
#endif
filePath = filePath.Replace(" ", "%20");
return filePath;
}
}
Expand Down
Loading