f111fei/react-native-unity-view

Execution failed for task ':UnityExport:BuildIl2CppTask'.

TeeRa0ne opened this issue · 3 comments

Hi everyone,

I'm working on a project with this lib but i have error and i don't know how fix this :

What went wrong:
Execution failed for task ':UnityExport:BuildIl2CppTask'.

A problem occurred starting process 'command '/Users/xxxx/Desktop/xxxx/xxxx-react-native-cli/app/android/UnityExport/src/main/Il2CppOutputProject/IL2CPP/build/deploy/netcoreapp3.1/il2cpp.exe''`

Do you have a solution ?

Hi everyone,

I'm working on a project with this lib but i have error and i don't know how fix this :

What went wrong: Execution failed for task ':UnityExport:BuildIl2CppTask'.

A problem occurred starting process 'command '/Users/xxxx/Desktop/xxxx/xxxx-react-native-cli/app/android/UnityExport/src/main/Il2CppOutputProject/IL2CPP/build/deploy/netcoreapp3.1/il2cpp.exe''`

Do you have a solution ?

Did you find any solution

i am also facing same issue can you tell me the solution if you find any

Yes i find a solution :

  1. You need to have Unity on your PC, me i work with this version 2020.3.17f1 with this modules:

Capture d’écran 2021-09-23 à 16 32 32

2. Delete the UnityExport folder in Android folder of your project
  1. And run a new build in Unity

Capture d’écran 2021-09-23 à 16 36 05

I hope me solution will help you.