virtyos

Results 4 comments of virtyos

@Ahmadre not working, result is the same. my logs while running: ``` I/flutter (31765): STATE AppLifecycleState.inactive I/flutter (31765): STATE AppLifecycleState.paused D/FlutterUnityController(31765): onDestroy D/FlutterUnityController(31765): onDestroy D/FlutterUnityController(31765): onDestroy I/CustomUnityPlayer(31765): onDetachedFromWindow W/FlutterSurfaceView(31765): detachFromRenderer()...

the issue takes place when the app goes to backgroud after pushing back button. As I understand we need to catch onDestroy event? But I dont know how.

Actually the problem is that it's imp[ossible to recreate unity widget (or controller?) after calling ondestroy ``` D/FlutterUnityController(23019): onDestroy D/FlutterUnityController(23019): onDestroy ```