Search Issue Tracker
Fixed in 2018.1.X
Fixed in 5.6.X, 2017.1.X, 2017.2.X, 2017.3.X
Votes
1
Found in
2017.2.0f3
Issue ID
960439
Regression
No
[iOS 11] Build crashes on remotear`::UnityUpdateDisplayList() when launching app from URL with AirPlay connected
To reproduce:
1. Open project attached by the user
2. Build it for iOS platform
3. Open build .xcodeproj file in XCode
4. Go to Product -> Scheme -> Edit Scheme
5. Select "Info" tab and tick "Wait for executable to be launched"
6. Build to device
7. Connect the device to Apple TV (to use screen mirroring)
8. After the device is connected to Apple TV go to Safari (on device) and type: airplaycrash://
9. It will ask to open an app, hit open
Expected result: Application should be launched from URL
Actual result: Application crashes on start
Reproduced with: 5.6.3p4, 2017.2.0f3, 2017.3.0b5, 2018.1.0a1
Device: iPhone 6s iOS 11.0
Not reproducible with iPad mini 3 iOS 10.3
Fixed in: 2018.1.0b1
Backported to: 2017.3.0p2, 2017.2.1p2, 2017.1.3p1, 5.6.5p3
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Select Preset "None" icon changes after switching tabs
- [Android] Crash when using xxHash3 and targeting the ARMv7 Architecture with IL2CPP Scripting Backend
- GameObject reference in a Script Component becomes missing when unpacking a variant of another Prefab variant
- Project Settings vertical separator position is not synchronized with the mouse position when dragging it horizontally
- Crash on PhysicsDebugDraw::SelectFiltering::Update when entering play mode with Physics Debug window docked and unfocused
brightonrich
Mar 27, 2018 08:22
@AGAMEMNON-PRIME What version of Unity was that with?
agamemnon-prime
Mar 27, 2018 07:56
Sorry, I was wrong. We were lucky with the previous submits. Just had another build that was rejected after removing the observers.
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Termination Description: SPRINGBOARD, scene-create watchdog transgression: com.worldofwaw.xxxxx exhausted real (wall clock) time allowance of 10.00 seconds | | ProcessVisibility: Foreground | ProcessState: Running | WatchdogEvent: scene-create | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 19.700 (user 19.700, system 0.000), 65% CPU", | "Elapsed application CPU time (seconds): 14.449, 48% CPU" | )
Triggered by Thread: 0
brightonrich
Mar 22, 2018 12:12
@BEAADS
https://forum.unity.com/threads/ios-crash-on-startup-unity-2017-1-3p2.521666/#n64
beaADS
Mar 22, 2018 11:36
@PL_AYGROUND - Can you post the link for that thread in Unity Forum? Thanks
pl_ayground
Mar 22, 2018 11:31
@brightonrich - this is from 2017.3.1p3, my app was approved after yet another try (details on the unity forum, I believe you have been active there as well).
brightonrich
Mar 22, 2018 11:24
@NIKUNJ48 Could you try your repro with your project built on 5.6.5p3 please after adding the observers back in?
https://unity3d.com/unity/qa/patch-releases/5.6.5p3
Nikunj48
Mar 22, 2018 10:49
@SORCHA08 and @BEAADS, Open generated XCode project and open "DisplayManager.mm" file and replace -(id)init method.
- (id)init
{
if ((self = [super init]))
{
/*[[NSNotificationCenter defaultCenter] addObserver: self
selector: @selector(screenDidConnect:)
name: UIScreenDidConnectNotification
object: nil
];
[[NSNotificationCenter defaultCenter] addObserver: self
selector: @selector(screenDidDisconnect:)
name: UIScreenDidDisconnectNotification
object: nil
];*/
_displayConnection = [NSMapTable
mapTableWithKeyOptions: NSPointerFunctionsStrongMemory | NSPointerFunctionsObjectPointerPersonality
valueOptions: NSPointerFunctionsStrongMemory | NSPointerFunctionsObjectPointerPersonality
];
for (UIScreen* screen in[UIScreen screens])
[self registerScreen: screen];
_mainDisplay = self[[UIScreen mainScreen]];
}
return self;
}
beaADS
Mar 22, 2018 10:37
@BRIGHTONRICH I tried submitting to apple with different versions and all of them were rejected. The last one I tried was 2017.3.1p4 (rejected as well). I would like to try removing the observer from -init. Can you explain to me how I do that? I am using XCode 9.2. Thanks
brightonrich
Mar 22, 2018 10:01
@NIKUNJ48 Thanks for that information. I will attempt to reproduce with Reflector3 here.
brightonrich
Mar 22, 2018 09:58
So removing the observers from -init is getting submissions passed? Is there anybody that has made that change and is still getting rejected?