react-native-unity-demo icon indicating copy to clipboard operation
react-native-unity-demo copied to clipboard

Unexpected Crash when toggling between ReactNative and Unity Screen

Open JanOwiesniak opened this issue 5 years ago • 0 comments

Setup

  • Unity 2018.2.14f1
  • iPhone 6s (iOS 12.0.1)
  • Nokia 6.1 (Android 8.1.0).

Problem

The app unexpectedly crashes when changing between ReactNative View and Unity View. Bug can be reproduced 100% times.

iOS

img_87af8a3c910a-1

Android

screenshot_20181106-131859

How to reproduce

  1. Tap "Toogle Unity" on React Native Screen to start Unity Screen
  2. Tap "Cube" on Unity Screen (Counter will go up by one)
  3. Tap "Toggle Unity" on Unity Screen to go back to React Native Screen
  4. Tap "Toggle Unity" on React Native Screen to go back Unity Screen
  5. Crashes on iOS and Android

JanOwiesniak avatar Nov 06 '18 12:11 JanOwiesniak