We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a87c10 commit b731208Copy full SHA for b731208
android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/FlutterUnityWidgetController.kt
@@ -68,7 +68,11 @@ class FlutterUnityWidgetController(
68
69
if(UnityPlayerUtils.unityPlayer == null) {
70
createPlayer()
71
- refocusUnity()
+ // Commented out to:
72
+ // - Fix possible 4 second delay caused by pausing Unity while in the Android splash screen.
73
+ // This could also be seen in logcat as "Timeout while trying to pause the Unity Engine."
74
+ // - Fix ANR caused by interacting with app during splash screen while Unity is waiting to pause itself
75
+ //refocusUnity()
76
} else if(!UnityPlayerUtils.unityLoaded) {
77
78
attachToView()
0 commit comments