Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.1.0a10
Issue ID
1104723
Regression
No
[iOS] Locking device while debugging, debugger disconnects from the process
How to reproduce:
1. Open the attached project
2. Switch platform to iOS
3. Make sure that Scripting Runtime Version is set to .NET 4.x Equivalent
4. Open Build Settings and enable Development Build and Script Debugger
5. Build and run project on iOS device
6. Close XCode
7. Open script in Visual Studio (breakpoints are not needed)
8. Open project on device
9. Go to Run -> Attach to Process in Visual Studio
10. Find UnityPlayer iPhonePlayer -> select it and Attach
11. While it is debugging lock the screen
Result: debugger stops debugging and it forgets the process. If you repeat step 9, you won't find UnityPlayer iPhonePlayer.
Note: If screen is locked when debugger hits the breakpoint, then this issue doesn't reproduce
Reproducible: 2019.1.0a10, 2019.1.0a2, 2018.3.0b11
Tested and reproduced on: iPhone 8plus iOS 12.0, iPad Pro 10.5" iOS 10.3.3
Tested and din't reproduce: VLNQA00150, Samsung Galaxy S9 (SM-G960U), Android 8.0.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
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
- An "RefreshInternalV2 is called before InitialRefresh" error is thrown when opening a project where a build profile with Player settings added is selected
- MeshCollider preview gizmo disappears from the Scene view when overriding the mesh asset using any 3D editing tool
- Tutorial project is not created when started from the Get set up tab
- Audio Listener Component expands when selected
- [iOS] Frame Debugger rendering output doesn't work with iOS builds
Resolution Note:
The managed debugger cannot re-attach to a device after the device is locked. Instead, the application should be restarted on the device.