Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2021.1
2021.1.0a5
Issue ID
1293234
Regression
No
[MacOS] Edit menu bar commands(Select All/Copy/Paste) are not functioning in Native Windows invoked in the built player
How to reproduce:
1. Open user-submitted project (MacOSEditorAndNativeWindow.zip)
2. Open the 'Scene.unityscene'
3. Make sure the Native window pop-up works in the Editor by entering Play Mode and clicking on the button
4. [Optional: If your receive “NativeWindow.bundle” cannot be opened error, run ‘xattr -cr’ on the project directory]
5. Build and run the player
6. Click the button in the Scene view to invoke the native window
7. Inside the native window text field try using the select all/cut/copy/paste shortcuts
Expected result: shortcuts are functioning, text can be selected(CMD+A), cut copied, pasted
Actual result: shortcuts do not work
Reproducible with: 2018.4.29f1, 2019.4.15f1, 2020.1.14f1, 2020.2.0b12, 2021.1.0a5
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
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
- Scene View with Debug Draw Mode enabled is gray when GPU Resident Drawer is enabled
- The UI is not visible when resizing out of focus built Player window with Application.runInBackground set to false
- [Linux] "Error while reading movie" errors are thrown when opening templates
- Standalone Profiler process is hidden in macOS dock
Resolution Note (2021.1.X):
This behavior is by design. The Select All/Copy/Paste shortcuts on a native window are provided by the system. A native window without an Edit menu item will not have those functionalities enabled on macOS. A workaround is to generate the Xcode project, and edit the MainMenu.nib file to add the Edit menu, then the Select All/Copy/Paste shortcuts will work.