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
- Crash on __pthread_kill when initializing Vuplex WebView while entering the Play Mode
- Crash on FindSurface when adding a custom Renderer Feature to a 2D Renderer Data Asset
- [Android] [Vulkan] [UI Toolkit] Application crashes when the device is rotated when it has UI Toolkit TextField on Vulkan devices
- Crash on DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate when opening a specific project
- Crash on memset_repstos when pressing a UI button while in Play Mode
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.