ConvAI Crash on Mac

Original Discord Post by antonioreoli | 2023-11-27 11:25:58

Every project crashes at start on Unreal 5.3.2 (MacOS) with enabled ConvAI plug-in, when you hit “play”.
Does anyone know what to do?

Reply by enormousvampire | 2023-11-27 11:26:52

<@808164597050638367> can you look into it ??

Reply by antonioreoli | 2023-11-27 11:30:09

Unknown() Address = 0x18728576c (filename not found) [in libsystem_kernel.dylib]
Unknown() Address = 0x1872aafac (filename not found) [in libsystem_kernel.dylib]
Unknown() Address = 0x18c99dc94 (filename not found) [in TCC]
Unknown() Address = 0x18c99e594 (filename not found) [in TCC]
Unknown() Address = 0x18c99b7e8 (filename not found) [in TCC]
Unknown() Address = 0x186fe1024 (filename not found) [in libxpc.dylib]
Unknown() Address = 0x186fe0f1c (filename not found) [in libxpc.dylib]
Unknown() Address = 0x18710b990 (filename not found) [in libdispatch.dylib]
Unknown() Address = 0x187129388 (filename not found) [in libdispatch.dylib]
Unknown() Address = 0x18711e358 (filename not found) [in libdispatch.dylib]
Unknown() Address = 0x18711dc40 (filename not found) [in libdispatch.dylib]
Unknown() Address = 0x1872b514c (filename not found) [in libsystem_pthread.dylib]
Unknown() Address = 0x1872b3e30 (filename not found) [in libsystem_pthread.dylib]

Reply by mrd7041 | 2023-11-27 12:01:48

<@995624700401172582> Thank you for reporting the crash.

Reply by antonioreoli | 2023-11-27 12:03:42

Can i do something to make it work for me?

Reply by mrd7041 | 2023-11-27 12:04:42

<@995624700401172582> We are looking into the issue. We will surely help you.

Reply by mrd7041 | 2023-11-27 13:32:33

<@995624700401172582> Can you give us the steps to replicate this issue and the complete logs?

Reply by antonioreoli | 2023-11-27 14:59:28

Sure.
Ive tried it many times already.

Open a new project (third person for example)

Enable ConvAI plugin

Close

Add

[Voice]
bEnabled=true to DefaultEngine.ini

Restart

If i hit play - it always crash even without adding any ConvAI blueprints of anything (with them also)

Attachments:

Replying to antonioreoli’s Message

Reply by antonioreoli | 2023-11-27 14:59:28
Sure.
Ive tried it many times already.

Open a new project (third person for example)

Enable ConvAI plugin

Close

Add

[Voice]
bEnabled=true to DefaultEngine.ini

Restart

If i hit play - it always crash even without adding any ConvAI blueprints of anything (with them also)

Reply by mrd7041 | 2023-11-27 15:40:32

Thanks <@995624700401172582>.

Reply by mrd7041 | 2023-11-29 07:56:22

<@995624700401172582> we are looking into your issue. We will get back to you soon.

Replying to mrd7041’s Message

Reply by mrd7041 | 2023-11-29 07:56:22
<@995624700401172582> we are looking into your issue. We will get back to you soon.

Reply by antonioreoli | 2023-11-29 07:57:35

Thank you! Im waiting for any information, now i can use your plugin on my computer

Reply by freezfast | 2023-11-30 05:13:39

Hi <@995624700401172582> , we were able to replicate the issue and it was due to a new bug in UE 5.3 where the editor is not packaged correctly and will not ask for microphone permission that the plugin requires and instead it will crash. As a workaround until Epic releases a hotfix is to force enable the permission for the Microphone using a tool called tccutil which manages macOS permissions, to use it:

  1. Clone the repo of the tool: GitHub - DocSystem/tccutil: A macOS Permissions manager
  2. Run the following command sudo python tccutil.py -e -id com.epicgames.UnrealEditor --microphone

Note that you will need to disable SIP (System Integrity Protection) which is mostly not recommended for Mac users. However, you can disable the SIP then reenable it after running the command and givving mic permissions to the UE editor.

Check this link for information on how to enable/disable it

Reply by antonioreoli | 2023-12-05 09:16:03

Sorry - unfirtunately i need an extra help to fix it.

Disabling SIP

Download tccutil.py to /Users/AntonioReoli/Movies/PROJECTS/UNREAL EINGINE/FIX

then i type in terminal
PATHTOTCCUTIL=“/Users/AntonioReoli/Movies/PROJECTS/UNREAL EINGINE/FIX/tccutil.py” echo “alias tccutil=python\ echo $PATHTOTCCUTIL” >> ~/.zshrc

And then in terminal i type
sudo python tccutil.py -e -id com.epicgames.UnrealEditor --microphone

Nothing happen( What i am doing wrong?

Reply by freezfast | 2023-12-05 10:38:51

Hi <@995624700401172582>, after typing the command in the terminal you should see this message Allowed the app to access Microphone!. Afterwards, you can open UE5.3 and no crash should happen on start play

Reply by freezfast | 2023-12-05 10:40:10

You can also double check if the SIP is indeed disabled by running csrutil status make sure it is returning System Integrity Protection status: disabled. prior to using the tccutil tool

Reply by antonioreoli | 2023-12-05 11:02:26

After all this acitons i have this message in terminal:

Reply by antonioreoli | 2023-12-05 11:02:28

sudo: python: command not found

Reply by freezfast | 2023-12-05 11:03:44

oh I see, you need to install python first, sorry for the oversight I assumed it is already installed
You can install by following this link: Tutorial: Installing Python on Mac – Dataquest

Reply by freezfast | 2023-12-05 18:53:58

<@995624700401172582> just a quick note, if you are still receiving the same error message of python not found, then try running python3 instead like so:
sudo python3 tccutil.py -e -id com.epicgames.UnrealEditor --microphone

Reply by mrd7041 | 2023-12-08 05:02:51

Hello, <@995624700401172582> i this is just to confirm whether the issue you were facing has been resolved or not.