Search Issue Tracker

Fixed

Votes

0

Found in

5.5.0f3

Issue ID

859767

Regression

No

[iOS] Opening app from URI crashes on iOS. "libc++abi.dylib: terminating with uncaught exception of type NSException"

Mobile

-

Reproduction Steps:
1. Open User's project
2. Note user tests on Simulator. To test on device set Target SDK in Player Settings from "Simulator SDK" to "Device SDK"
3. Build to iOS
4. Deploy to device or simulator
5. Go to Home Screen (CMD+Shift+H in simulator)
6. Open Safari
7. Type "uritest://test"
8. In the popup that appears, click "Open"
9. Notice that Xcode breaks on line:

UIApplicationMain(argc, argv, nil, [NSString stringWithUTF8String:AppControllerClassName]);

10. Notice Xcode outputs:

libc++abi.dylib: terminating with uncaught exception of type NSException

Expected behaviour: Project opens on iOS device without any problem.
Actual result: Opening app from URI fails.

Reproduced on versions: Unity 5.5.0p1, 5.6.0b1
Could not reproduce on Unity 5.4.3p3 (crashes while building), 5.3.7p2 (freezes while building)

Comments (3)

  1. 4006cad9fec07b7a7a1f4081115cf69d?d=mm

    morganarronn

    Mar 06, 2020 12:15

    There are a few issues with iOS 5.1 SDK that this strategy may not work precisely the equivalent. Visit here: https://cactacstudios.com/

  2. Eb480f53d8affd8f4e7345feccafbe4b?d=mm

    unity_b1cUvHXP2rRraQ

    Jan 19, 2019 05:02

    Please check your delegate layout connection or extend delegate class. like Collection View - UICollectionViewDataSource, UICollectionViewDelegate. - https://www.iosdeveloperlive.com/
    iOS Developer Live - IOS App Development Services for objective and Swift programming and improving the visibility process

  3. Eb480f53d8affd8f4e7345feccafbe4b?d=mm

    unity_b1cUvHXP2rRraQ

    Jan 19, 2019 05:01

    Please check your delegate layout connection or extend delegate class. like Collection View - UICollectionViewDataSource, UICollectionViewDelegate. - https://www.iosdeveloperlive.com/
    iOS Developer Live - IOS App Development Services for objective and Swift programming and improving the visibility process

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.