Search Issue Tracker
Fixed
Fixed in 2023.1.0a23
Votes
1
Found in
2021.2.15f1
2022.1.0b11
2022.2.0a9
2023.1.0a19
Issue ID
UUM-585
Regression
No
[Android] In logcat, Strip Engine code is falsely reported as being on when it's off
Steps to reproduce:
1. Open the attached project and make sure code stripping is disabled (Strip Engine Code setting in Player Settings > Other Settings)
2. Export gradle project
3. In UnityPlayerActivity.java override cmd line args (required to crash handler changes in trunk)
```
protected String updateUnityCommandLineArguments(String cmdLine)
{ return "-androidChainedSignalHandlerBehavior legacy"; }
```
4. Build and run from Android Studio on Android <8 device
5. Click the "ForcedCrashCategory.AccessViolation"
6. After application has crashed, check the logcat for "Code Stripping" entries
Expected: Code stripping is reportedly off, when it's off
Actual: Code stripping is reported as on, despite being off
Reproduced on: 2021.2.15f1, 2022.1.0b11, 2022.2.0a9
Reproduced on devices:
VLNQA00011 - Xiaomi Mi 5s (MI 5s), CPU: Snapdragon 820 MSM8996, GPU: Adreno 530, OS: 6.0.1
VLNQA00078 - Motorola Nexus 6 (Nexus 6), CPU: Snapdragon 805 APQ8084AB, GPU: Adreno 420, OS: 7.1.1
VLNQA00010 - Samsung Galaxy S8 USA (SM-G950U), CPU: Snapdragon 835 MSM8998, GPU: Adreno 540, OS: 7.0.0
Note1: Mono is not using code stripping, therefore reported as off
Note2: Android 8+ devices no longer are able to add extra lines to the tombstone
Note3: Happens with both ARMv7 and ARM64, and developer/release modes
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 PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Resolution Note (fix version 2023.1.0a23):
Strip Engine Code information will be correctly printed for for unhandled java exceptions