Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2018.2.X
Votes
0
Found in
2018.3.0a6
Issue ID
1064723
Regression
No
[iOS][Android] Random crashes while debugging with IL2CPP debugger in Visual Studio
How to reproduce:
1. Open the project uploaded to owncloud or download Survival Shooter from Asset Store
2. Change platform to Android or iOS
3. In Preferences-> External Tools set Visual Studio as External Script Editor
4. In Player Settings make sure that Scripting Runtime Version is set to .NET 4.x Equivalent
5. In Build Settings enable Development build and Script Debugging
5. Build and run project on device (if it is iOS device, turn off XCode and play app in the device again)
6. While app is running, open script from project with Visual Studio
7. In Visual Studio attach Debugger to player (Run -> Attach to Process -> Unity Player Android Player or Unity Player iPhone Player)
8. Add some breakpoints,
9. Create few Watch variables, add breakpoint on few places where those variables change value
10. Start debugging and continue clicking "Continue execution" button in Visual Studio when it reaches any breakpoint
Result: after a while app crashes (5min not longer)
Reproducible: 2018.2.2f0 (app crashes after attaching to process), 2018.3.0a5, 2018.3.0a7
Tested on: Macbook Pro MacOS 10.13.6
Used devices: iPhone 8 plus iOS 11.0, Samsung Galaxy S9 Android 8.0.0
Also tried on Editor but it didn't crash
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- "GetPreferedValue" returns max value when using auto-sizing
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
Add comment