Closed JanOwiesniak closed 5 years ago
I'm getting this same error and I don't have react-native-unity-view installed. @JanOwiesniak Are you using react-native-navigation?
Attempt to invoke virtual method 'com.facebook.react.bridge.CatalystInstance com.facebook.react.bridge.ReactContext.getCatalystInstance()' on a null object reference
getUIManager
UIManagerHelper.java:28
attachRootViewToInstance
ReactInstanceManager.java:1015
setupReactContext
ReactInstanceManager.java:974
access$1300
ReactInstanceManager.java:117
run
ReactInstanceManager.java:937
handleCallback
Handler.java:873
dispatchMessage
Handler.java:99
dispatchMessage
MessageQueueThreadHandler.java:29
loop
Looper.java:193
run
MessageQueueThreadImpl.java:192
run
Thread.java:764
@bpshonyak yes i was using react-native-navigation at this time but meanwhile changed to react-navigation. I have not seen this error in a long time, maybe this issue is related to react-native-navigation and not to react-native-unity-view.
I have not found the pattern yet. It seems to be non-deterministic and it's hard to reproduce but it happens from time to time. I'm not even 100% sure this is coming from react-native-unity-view but i though i might put it into an issue anyway. Maybe i'm not the only one running into this :)