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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
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.