Search Issue Tracker
By Design
Votes
0
Found in
6000.0.55f1
6000.2.0f1
6000.3.0a4
Issue ID
UUM-113716
Regression
No
Application.OpenURL does not work on macOS when the URL contains curly braces
How to reproduce:
1. Open the “Application.OpenURL bug report.zip“ project
2. Open the “scene“ Scene
3. Enter Play Mode and observe
Expected result: A web browser opens with the link “http://example.com/%7B%7D” in the search bar
Actual result: A web browser does not open
Reproducible in: 2023.1.0a1, 6000.0.55f1, 6000.2.0f1, 6000.3.0a4
Reproduced on: macOS 15.3
Not reproduced on: Windows 11 Pro, Linux (By the reporter)
Workaround: Use the designated encoded values instead of the curly braces - “%7B%7D“
Notes:
- %7B and %7D are curly braces “{}” but encoded
- The web browser will open if the link does not feature curly braces (other types of braces work, except “<>”)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on MemoryProfiler::GetAllocationRoot when entering Play mode on a specific project
- Video Player preview is not shown when Inspector preview is converted to Floating Window
- “Cut”, “Copy”, “Duplicate”, “Rename”, “Delete” and other options are not greyed out and active when nothing in the Editor is selected and does nothing when pressed
- Invalid signature package console message is not visible after package import when Console has 'Clear on Recompile' setting enabled
- Cannot interact with GameObjects in the Hierarchy window by using shortcuts or edit menu when selecting a GameObject in the Hierarchy with a “Select” window opened
Resolution Note:
URL passed to this function has to be valid, Unity does no sanitization for it.
Curly braces are not valid and have to be escaped.
More info: https://stackoverflow.com/questions/1547899/which-characters-make-a-url-invalid