Search Issue Tracker
By Design
By Design in 2023.2.X
Votes
0
Found in
2021.3.25f1
2022.3.1f1
2023.1.0b20
2023.2.0a18
Issue ID
UUM-37736
Regression
No
Visual Studio debugger doesn't show full properties of animation variables on Android and IOS Platforms when using IL2CPP Scripting Backend
How to reproduce:
1. Open the "IN_42078" project
2. Open the "Cube Controller" script
3. Uncomment lines 32-33 and add breakpoints to lines 30-33
4. In Build Settings enable "Wait For Managed Debugger"
5. Select the desired device in the "Run Device" dropdown
6. Build And Run
7. In Visual Studio press Debug -> Attach Unity Debugger
8. In the "Select Unity Instance" window select where the project was built
9. On the device pop-up press the "OK" button
10. In Visual Studio press "Step Over" to continue debugging
11. Hover over the "aniComp" variable and expand it
Expected result: detailed animation properties are visible
Actual result: only base properties are visible
Reproducible with: 2021.3.25f1, 2022.3.1f1, 2023.1.0b20, 2023.2.0a18
Testing environment: Windows 10 Pro, MacBook Pro (macOS 13.2.1) (Intel)
Reproducible with these devices:
VLNQA00120, Google Pixel 2 (Pixel 2), Android 8.1.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00363, Samsung Galaxy Z Fold2 5G (SM-F916B), Android 11, CPU: Snapdragon 865 SM8250, GPU: Adreno (TM) 650
VLNQA00267, Samsung Galaxy S10+ (SM-G975F), Android 12, CPU: NOT FOUND, GPU: Mali-G76
VLNQA00494 - iPhone 14 Pro Max, 16.3.1 iOS
Notes:
- Reproducible with Mono Scripting Backend when Managed Stripping Level is change from Disabled.
- Reproducible on IOS and Android Platforms
- Reproducible on Windows Standalone Platform
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
These properties are not being shown in the debugger because they were stripped by managed code stripping - https://docs.unity3d.com/Manual/ManagedCodeStripping.html. Since they were stripped, they no longer exist for the debugger to examine. We currently have no plans to change managed code stripping behavior when the debugger is enabled.
Resolution Note (2023.2.X):
These properties are not being shown in the debugger because they were stripped by managed code stripping - https://docs.unity3d.com/Manual/ManagedCodeStripping.html. Since they were stripped, they no longer exist for the debugger to examine. We currently have no plans to change managed code stripping behavior when the debugger is enabled.