The Convai plugin requires microphone access in Unreal Engine (UE) 5.0 and 5.3 on macOS.
Temporarily Disable SIP - Follow the instructions provided in the Disabling and Enabling SIP guide - Note: make sure to run the command csrutil disable
in the terminal.
Clone the tccutil Repository - Open the Terminal, and enter the following command to clone the repository:
git clone https://github.com/DocSystem/tccutil
Navigate to the tccutil Directory by entering cd tccutil
into the terminal.
Ensure Python is installed on your system. Run the tccutil command In the Terminal to allow microphone access for Unreal Engine:
sudo python3 tccutil.py -e -id com.epicgames.UnrealEditor --microphone --enable
Re-enable SIP Once the modifications are complete, follow the same guide to re-enable System Integrity Protection but this time run the command csrutil enable
.
After packaging your game, if you notice any crash or microphone not working then proceed to doing the following steps
locate the Info.plist
file in the packaged game directory. This is typically found by right-clicking the package, selecting 'Show Package Contents', and editing /Contents/Mac/Info.plist
.
Add the following entries to request microphone access:
Save the changes to the Info.plist
file.