"Use Animated Autorotation" may crash in unity2019.4.8f1 version!!!

Crashed: com.apple.main-thread
0 UnityFramework 0x10552d430 UnityUseAnimatedAutorotation + 300 (PlayerSettings.h:300)
1 UnityFramework 0x104020894 -[UnityViewControllerBase(iOS) viewWillTransitionToSize:withTransitionCoordinator:] + 90 (UnityViewControllerBase+iOS.mm:90)
2 UIKitCore 0x1a6fc722c +[UIViewController performWithoutDeferringTransitionsAllowingAnimation:actions:] + 168
3 UIKitCore 0x1a6fdcf7c -[UIViewController(AdaptiveSizing) _window:viewWillTransitionToSize:withTransitionCoordinator:] + 572
4 UIKitCore 0x1a763cac0 __53-[UIWindow _adjustSizeClassesAndResizeWindowToFrame:]_block_invoke.1130 + 360
5 UIKitCore 0x1a763c814 -[UIWindow _adjustSizeClassesAndResizeWindowToFrame:] + 852
6 UIKitCore 0x1a7648b5c -[UIWindow _resizeWindowFrameToSceneBoundsIfNecessary] + 248
7 UIKitCore 0x1a763e9c8 __78-[UIWindow _rotateWindowToOrientation:updateStatusBar:duration:skipCallbacks:]_block_invoke + 388
8 UIKitCore 0x1a6ff8f6c __58-[_UIWindowRotationAnimationController animateTransition:]_block_invoke_2 + 172
9 UIKitCore 0x1a7aa96f4 +[UIView(Internal) _performBlockDelayingTriggeringResponderEvents:forScene:] + 204
10 UIKitCore 0x1a6ff8d60 __58-[_UIWindowRotationAnimationController animateTransition:]_block_invoke + 164
11 UIKitCore 0x1a6ff8c38 -[_UIWindowRotationAnimationController animateTransition:] + 492
12 UIKitCore 0x1a763c118 -[UIWindow _rotateToBounds:withAnimator:transitionContext:] + 580
13 UIKitCore 0x1a763e6f4 -[UIWindow _rotateWindowToOrientation:updateStatusBar:duration:skipCallbacks:] + 1420
14 UIKitCore 0x1a763ec08 -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:isRotating:] + 408
15 UIKitCore 0x1a763dfdc -[UIWindow _setRotatableViewOrientation:updateStatusBar:duration:force:] + 128
16 UIKitCore 0x1a6ee50b4 -[_UIFullscreenPresentationController _placeCounterRotationViewWithView:inWindow:fromOrientation:toOrientation:force:] + 504
17 UIKitCore 0x1a6ee4df8 -[_UIFullscreenPresentationController _adjustOrientationIfNecessaryInWindow:forViewController:preservingViewController:] + 880
18 UIKitCore 0x1a6edaab0 -[UIPresentationController _dismissWithAnimationController:interactionController:target:didEndSelector:] + 684
19 UIKitCore 0x1a6fce100 __99-[UIViewController _dismissViewControllerWithAnimationController:interactionController:completion:]_block_invoke_2 + 72
20 UIKitCore 0x1a7aa416c +[UIView(Animation) performWithoutAnimation:] + 96
21 UIKitCore 0x1a6fcdf7c -[UIViewController _dismissViewControllerWithAnimationController:interactionController:completion:] + 580
22 UIKitCore 0x1a7aa416c +[UIView(Animation) performWithoutAnimation:] + 96
23 UIKitCore 0x1a6fcdc30 -[UIViewController _dismissViewControllerWithTransition:from:completion:] + 816
24 UIKitCore 0x1a6fcd308 -[UIViewController dismissViewControllerWithTransition:completion:] + 1200
25 UIKitCore 0x1a6fccd70 -[UIViewController _performCoordinatedPresentOrDismiss:animated:] + 508
26 UIKitCore 0x1a6fcf478 -[UIViewController dismissViewControllerAnimated:completion:] + 132
27 UIKitCore 0x1a7635b50 __68-[UIWindow _removeAllViewControllersFromWindowHierarchyFromDealloc:]_block_invoke + 60
28 UIKitCore 0x1a6fc722c +[UIViewController _performWithoutDeferringTransitionsAllowingAnimation:actions:] + 168
29 UIKitCore 0x1a76357f0 -[UIWindow _removeAllViewControllersFromWindowHierarchyFromDealloc:] + 284
30 UIKitCore 0x1a7635cfc -[UIWindow setRootViewController:] + 284
31 UnityFramework 0x1040157f8 UnityCleanupTrampoline + 174 (UnityAppController.mm:174)
32 UnityFramework 0x104016698 -[UnityAppController applicationWillTerminate:] + 493 (UnityAppController.mm:493)
33 UIKitCore 0x1a76029a4 -[UIApplication _terminateWithStatus:] + 244
34 UIKitCore 0x1a6da00d4 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 124
35 UIKitCore 0x1a6d9fd5c -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 216
36 UIKitCore 0x1a75f8b44 -[UIApplication workspaceShouldExit:withTransitionContext:] + 212
37 FrontBoardServices 0x1a86c98a0 -[FBSUIApplicationWorkspaceShim workspaceShouldExit:withTransitionContext:] + 84
38 FrontBoardServices 0x1a86f49bc __83-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:withAcknowledgement:]_block_invoke_2 + 76
39 FrontBoardServices 0x1a86dabfc -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 232
40 FrontBoardServices 0x1a86f494c __83-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:withAcknowledgement:]_block_invoke + 124
41 libdispatch.dylib 0x1a320f524 _dispatch_client_callout + 16
42 libdispatch.dylib 0x1a31b8434 _dispatch_block_invoke_direct$VARIANT$mp + 224
43 FrontBoardServices 0x1a8719850 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK
_ + 40
44 FrontBoardServices 0x1a871951c -[FBSSerialQueue queue_performNextIfPossible] + 404
45 FrontBoardServices 0x1a8719a44 -[FBSSerialQueue _performNextFromRunLoopSource] + 28
46 CoreFoundation 0x1a34c7ad8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
_ + 24
47 CoreFoundation 0x1a34c7a30 __CFRunLoopDoSource0 + 80
48 CoreFoundation 0x1a34c71b8 __CFRunLoopDoSources0 + 184
49 CoreFoundation 0x1a34c21e8 __CFRunLoopRun + 788
50 CoreFoundation 0x1a34c1ba8 CFRunLoopRunSpecific + 424
51 GraphicsServices 0x1ad631344 GSEventRunModal + 160
52 UIKitCore 0x1a75fd3e4 UIApplicationMain + 1932
53 UnityFramework 0x10401aaec -[UnityFramework runUIApplicationMainWithArgc:argv:] + 96 (main.mm:96)
54 ------- 0x1029f7e1c main + 28 (main.mm:28)
55 libdyld.dylib 0x1a33498f0 start + 4

1 Like

unity 2019.4.5f1

Crashed: com.apple.main-thread
0 UnityFramework 0x1065b445c UnityUseAnimatedAutorotation + 296 (PlayerSettings.h:296)
1 UnityFramework 0x1065b445c UnityUseAnimatedAutorotation + 296 (PlayerSettings.h:296)
2 UnityFramework 0x105536554 -[UnityViewControllerBase(iOS) viewWillTransitionToSize:withTransitionCoordinator:] + 90 (UnityViewControllerBase+iOS.mm:90)
3 UIKitCore 0x18ecbda1c +[UIViewController _performWithoutDeferringTransitionsAllowingAnimation:actions:] + 176
4 UIKitCore 0x18ecd40d8 -[UIViewController(AdaptiveSizing) _window:viewWillTransitionToSize:withTransitionCoordinator:] + 612
5 UIKitCore 0x18f35e638 __53-[UIWindow _adjustSizeClassesAndResizeWindowToFrame:]_block_invoke.1142 + 376
6 UIKitCore 0x18f35e374 -[UIWindow _adjustSizeClassesAndResizeWindowToFrame:] + 884
7 UIKitCore 0x18f36aa34 -[UIWindow _resizeWindowFrameToSceneBoundsIfNecessary] + 252
8 UIKitCore 0x18f3605ec __78-[UIWindow _rotateWindowToOrientation:updateStatusBar:duration:skipCallbacks:]_block_invoke + 408
9 UIKitCore 0x18ecf0e74 __58-[_UIWindowRotationAnimationController animateTransition:]_block_invoke_2 + 180
10 UIKitCore 0x18f7e6e90 +[UIView(Internal) _performBlockDelayingTriggeringResponderEvents:forScene:] + 212
11 UIKitCore 0x18ecf0c60 __58-[_UIWindowRotationAnimationController animateTransition:]_block_invoke + 180
12 UIKitCore 0x18ecf0b24 -[_UIWindowRotationAnimationController animateTransition:] + 524
13 UIKitCore 0x18f35dc44 -[UIWindow _rotateToBounds:withAnimator:transitionContext:] + 624
14 UIKitCore 0x18f3602f4 -[UIWindow _rotateWindowToOrientation:updateStatusBar:duration:skipCallbacks:] + 1436
15 UIKitCore 0x18f360830 -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:isRotating:] + 404
16 UIKitCore 0x18f35fbc4 -[UIWindow _setRotatableViewOrientation:updateStatusBar:duration:force:] + 132
17 UIKitCore 0x18ebd5fd8 -[_UIFullscreenPresentationController _placeCounterRotationViewWithView:inWindow:fromOrientation:toOrientation:force:] + 520
18 UIKitCore 0x18ebd5d0c -[_UIFullscreenPresentationController _adjustOrientationIfNecessaryInWindow:forViewController:preservingViewController:] + 908
19 UIKitCore 0x18ebcb70c -[UIPresentationController _dismissWithAnimationController:interactionController:target:didEndSelector:] + 652
20 UIKitCore 0x18ecc4b4c __99-[UIViewController _dismissViewControllerWithAnimationController:interactionController:completion:]_block_invoke_2 + 76
21 UIKitCore 0x18f7e1620 +[UIView(Animation) performWithoutAnimation:] + 104
22 UIKitCore 0x18ecc49b4 -[UIViewController _dismissViewControllerWithAnimationController:interactionController:completion:] + 608
23 UIKitCore 0x18f7e1620 +[UIView(Animation) performWithoutAnimation:] + 104
24 UIKitCore 0x18ecc4648 -[UIViewController _dismissViewControllerWithTransition:from:completion:] + 832
25 UIKitCore 0x18ecc3cf8 -[UIViewController dismissViewControllerWithTransition:completion:] + 1236
26 UIKitCore 0x18ecc3730 -[UIViewController _performCoordinatedPresentOrDismiss:animated:] + 528
27 UIKitCore 0x18ecc5f78 -[UIViewController dismissViewControllerAnimated:completion:] + 148
28 UIKitCore 0x18f357578 __68-[UIWindow _removeAllViewControllersFromWindowHierarchyFromDealloc:]_block_invoke + 64
29 UIKitCore 0x18ecbda1c +[UIViewController _performWithoutDeferringTransitionsAllowingAnimation:actions:] + 176
30 UIKitCore 0x18f357208 -[UIWindow _removeAllViewControllersFromWindowHierarchyFromDealloc:] + 300
31 UIKitCore 0x18f357734 -[UIWindow setRootViewController:] + 288
32 UnityFramework 0x10552b17c UnityCleanupTrampoline + 174 (UnityAppController.mm:174)
33 UnityFramework 0x10552c1d4 -[UnityAppController applicationWillTerminate:] + 486 (UnityAppController.mm:486)
34 UIKitCore 0x18f322e70 -[UIApplication _terminateWithStatus:] + 248
35 UIKitCore 0x18ea8c43c -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 128
36 UIKitCore 0x18ea8c0a0 -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 220
37 UIKitCore 0x18f318ef0 -[UIApplication workspaceShouldExit:withTransitionContext:] + 216
38 FrontBoardServices 0x190430d80 -[FBSUIApplicationWorkspaceShim workspaceShouldExit:withTransitionContext:] + 88
39 FrontBoardServices 0x19045ddd8 __83-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:withAcknowledgement:]_block_invoke_2 + 80
40 FrontBoardServices 0x190442f40 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 240
41 FrontBoardServices 0x19045dd64 __83-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:withAcknowledgement:]_block_invoke + 140
42 libdispatch.dylib 0x18ae975ac _dispatch_client_callout + 20
43 libdispatch.dylib 0x18ae9a33c _dispatch_block_invoke_direct + 264
44 FrontBoardServices 0x1904846c8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48
45 FrontBoardServices 0x190484374 -[FBSSerialQueue _queue_performNextIfPossible] + 432
46 FrontBoardServices 0x1904848e0 -[FBSSerialQueue _performNextFromRunLoopSource] + 32
47 CoreFoundation 0x18b170d14 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
48 CoreFoundation 0x18b170c68 __CFRunLoopDoSource0 + 84
49 CoreFoundation 0x18b1703c4 __CFRunLoopDoSources0 + 188
50 CoreFoundation 0x18b16b1fc __CFRunLoopRun + 780
51 CoreFoundation 0x18b16abc8 CFRunLoopRunSpecific + 480
52 GraphicsServices 0x19554c5cc GSEventRunModal + 164
53 UIKitCore 0x18f31d744 UIApplicationMain + 1936
54 UnityFramework 0x1055306b8 -[UnityFramework runUIApplicationMainWithArgc:argv:] + 96 (main.mm:96)
55 TanksALot 0x100a9c184 main + 28 (main.mm:28)
56 libdyld.dylib 0x18afe7384 start + 4

Fixed in unity2019.4.10f1

Hi, @seven_li @gate1 I'm still seeing this on 2019.4.10f1 not on dev build but on distribution build, only happens with iphone not ipad, did you experience the same problem or found a distribution build that didn't crash with this bug? thank you

in case it helps anyone, i'm testing latest .16 https://discussions.unity.com/t/808591