Search Issue Tracker

By Design



Found in





Issue ID




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

- Reproducible with Mono Scripting Backend when Managed Stripping Level is change from Disabled.
- Reproducible on IOS and Android Platforms
- Reproducible on Windows Standalone Platform

  1. Resolution Note:

    These properties are not being shown in the debugger because they were stripped by managed code stripping - 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.

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.