Open entelostre opened 4 months ago
Indeed, this is happening when running the unity view of my RN app, on mac with M1 chip. @entelostre Do you know if this is happening on m2 too?
Indeed, this is happening when running the unity view of my RN app, on mac with M1 chip. @entelostre Do you know if this is happening on m2 too?
Yes this is happening both on m1 and m2.
An uncaught exception was raised
[KeyboardDelegate Initialize] called after creating keyboard
@azesmway Could this be related to the fact that we don't set the app's launch options to the unity controller?
I see in RNUnityView.mm
that you do [[self ufw] runEmbeddedWithArgc: gArgc argv: array appLaunchOpts: appLaunchOpts];
but the appLaunchOpts
is empty, not the ones of the app's that exist in the app's AppDelegate.mm
. Do you think we can pass these options to the unity view? Would this be relevant?
An uncaught exception was raised [KeyboardDelegate Initialize] called after creating keyboard
@azesmway Could this be related to the fact that we don't set the app's launch options to the unity controller? I see in
RNUnityView.mm
that you do[[self ufw] runEmbeddedWithArgc: gArgc argv: array appLaunchOpts: appLaunchOpts];
but theappLaunchOpts
is empty, not the ones of the app's that exist in the app'sAppDelegate.mm
. Do you think we can pass these options to the unity view? Would this be relevant?
Hi. You have to read the Unity documentation, I don't know.
Thanks for the reply @azesmway it's ok.
I solved this by commenting out this line:
[KeyboardDelegate Initialize]
in UnityAppController.mm
Hello people, ONLY on MacBooks, I am having a crash the moment the UnityView should appear in my app. I spent some time to understand the issue without success so I am posting the Xcode log and the TestFlight crash report here in case anyone has some info. I am using react-native-unity v0.4.0 with a unity 2022.3.25f1 build.