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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.