Search Issue Tracker

Fixed in 2018.1.X

Fixed in 2017.3.X

Votes

3

Found in

2017.3.0p2

Issue ID

1005678

Regression

Yes

[UnityWebRequest][iOS][2017.3] Player crashes at Job_ExecuteUnityWebRequest() when switching to airplane mode

Mobile

-

To reproduce:
1. Open user's attached project
2. Build "Test" scene for iOS platform
3. Launch project on the device
4. Switch airplane mode on and off till player crashes

Expected result: Player shouldn't crash no matter how many times you switch airplane mode
Actual result: After switching airplane mode few times Unity crashes

Crash:
* thread #23, name = 'BackgroundWorker', stop reason = EXC_BAD_ACCESS (code=257, address=0x41)
frame #0: 0x0000000000000041
* frame #1: 0x00000001051a6fa4 crashwebrequestproto`::Job_ExecuteUnityWebRequest() at UnityWebRequestProto.h:207 [opt]
frame #2: 0x000000010503adec crashwebrequestproto`::Exec() [inlined] ExecuteJobFunc at JobQueue.cpp:386 [opt]
frame #3: 0x000000010503add8 crashwebrequestproto`::Exec() at JobQueue.cpp:440 [opt]
frame #4: 0x000000010503ad58 crashwebrequestproto`::Steal() at JobQueue.cpp:573 [opt]
...

Reproduced with: Unity 2017.3.0b6, 2017.3.1p2
Not reproducible with: 2017.2.1p4, 2017.3.0a1

Fixed in: 2017.4.1f1
Wasn't able to test where exactly it regressed since Unity fails to build the project. The first version that reproduces the issue is 2017.3.0b6
Device: iPhone 7+ iOS 11.3, iPhone 8 iOS 11.0, iPhone SE iOS 9.3

Comments (1)

  1. Johny_G

    Mar 05, 2018 15:38

    I confirm this bug. Apps with Vuforia keep crashing on license check via WebRequest. It doesn't happen right away, but after ANY network issue whatsoever (Airplane mode not required), it keeps crashing every time you try to run the app. Downgrade to 2017.2 resolved the issue for me.

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.