Search Issue Tracker

By Design

Unknown (hidden) 2020.3.X, 2021.3.X, 2022.1.X, 2022.2.X, 2023.1.X

Votes

0

Found in

2020.3.41f1

2021.3.13f1

2022.1.22f1

2022.2.0b13

2023.1.0a18

Issue ID

UUM-18982

Regression

No

[Android] Application crashes with "File is Corrupted" errors from an external package scripts

--

-

Steps to reproduce
1. Open the attached Customer's project "PackageCorruption.zip"
2. Build and run the project on an android device
3. Observe the error using Android logcat and that the Application crashes

Expected results: Application does not crash with "File is Corrupted" errors from an external package scripts
Actual results: Application crashes with "File is Corrupted" errors from an external package scripts

Reproducible on: 2020.3.41f1, 2021.3.13f1, 2022.1.22f1, 2022.2.0b13, 2023.1.0a18

Reproducible with these devices:
VLNQA00013 - Galaxy S6 Edge+ (SM-G928F), CPU: Exynos 7 Octa (7420), GPU: Mali-T760, OS: 7.0.0
VLNQA00317 - Vivo NEX 3 5G (V1924A), CPU: Snapdragon 855+, GPU: Adreno 640, OS: 9.0.0
N/A, Google Pixel 3 (Pixel 3), Android 12, CPU: Snapdragon 845, GPU: Adreno (TM) 630
VLNQA00413 - Samsung Galaxy Note10+ (SM-N975F), OS: 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
VLNQA00372 - Galaxy S21 5G (SM-G991U), CPU: Snapdragon 888, GPU: Adreno 660, OS: 11
VLNQA00202 - Samsung Galaxy Note 9 USA (SM-N9600), CPU: Snapdragon 845 SDM845, GPU: Adreno 630, OS: 9.0.0
VLNQA00177 - Xiaomi Mi Note 2 (Mi Note 2), OS: 6.0.1, CPU: Snapdragon 820 MSM8996, GPU: Adreno 530
VLNQA00231 - HUAWEI Mate 20 Pro (LYA-L29), OS: 9.0.0, CPU: HiSilicon Kirin 980, GPU: Mali-G76
VLNQA00406 - Galaxy Z Flip3 5G (SM-F711B), OS: 11, CPU: Snapdragon 888, GPU: Adreno 660
N/A, Samsung Galaxy S9 (SM-G960F), Android 8.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
VLNQA00415 - Oculus Quest 2 (Quest 2), CPU: Snapdragon XR2, GPU: Adreno 650, OS: 10
VLNQA00275 - Oculus Quest (Quest), CPU: Snapdragon 835 MSM8998, GPU: Adreno 540, OS: 10

Customer's devices:
Magic Leap 2
Xiaomi Mi 8

Notes:
-An error message from Android Logcat
The file '/data/app/com.Magicleap.ml2_Box-l12mdzgltbY6KO9_RvBQ2Q==/base.apk/assets/bin/Data/level0' is corrupted! Remove it and launch unity again!
09-01 18:08:46.536 28911 28997 E Unity: [Position out of bounds!]
-Logcat is attached "Logcat.txt"

  1. Resolution Note:

    Cannot reproduce using latest trunk.
    Tried ARM64 build (dev and release) on couple of phones and x86_64 build on Chromebook.

    The described problem comes from serializable enum field, where enum itself comes from 3rd party package. Decompiling that dll I don't see a reason why it could fail either. Typically, problems with types from third party libraries are third party issues.

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.