Home > Back-end >  Exporting games from Unity 5 to MacOS generate request for keystrokes not allowed
Exporting games from Unity 5 to MacOS generate request for keystrokes not allowed

Time:04-13

I was trying to export some games that I created with old Unity versions to Mac.

I was able to successfully export 2 games created with Unity 2017.4.40. But now I try to export some games created with Unity 5.6.7, but every time that I try to export a game using that Unity version, I receive the following request from the system after launch the app.

Request keystrokes

The message is

"MyApp" would like to receive keystrokes from any application.
Grant access to this application in Security & Privacy preferences, located in System Preferences.

When I export games from Unity 5.6.7, I didn't receive this message, The message only appears when I export a game from Unity 5.6.7.

How can I fix that?

CodePudding user response:

You need to upgrade to Unity 2018.4.7 or higher.

Unity fixed this in Unity 2018.4.7f1, see their release notes https://unity3d.com/de/unity/whats-new/2018.4.7

macOS: Fixes an issue with macOS Catalina that causes Unity to request permission to receive keyboard input when using other apps in both the editor and standalone player. (1172758)

  • Related