fusetools / react-native-unity2

Embed Unity content in your React Native app!
https://fuse.no
MIT License
37 stars 7 forks source link

Thread 1: "-[UnityFramework setRNUnityProxy:]: unrecognized selector sent to instance 0x281d18510" #18

Open ronakYudiz opened 1 year ago

ronakYudiz commented 1 year ago

Error occurred when I changed unity iOS settings Target SDK from simulator to device

mriaz764 commented 1 year ago

I'm also getting same issue

ajtosh77 commented 1 year ago

Same here... Any luck with a workaround or better luck with a different RN Unity package?

mortend commented 1 year ago

Hi all,

The [UnityFramework setRNUnityProxy:] selector is implemented in this file:

The file is used to implement message passing between Unity and the React Native app.

All files in the RNUnity directory is supposed to be added to your Unity project when using react-native-unity2:

mriaz764 commented 1 year ago

I copy the RNUnity folder to my Unity project assets and create build, it's working fine ):