Search Issue Tracker
Won't Fix
Votes
2
Found in
2020.3.17f1
2021.1.19f1
2021.2.0a17
Issue ID
UUM-2224
Regression
Yes
[Backport] [IL2CPP][Android] App crashes on launch when patch obb file is pushed
How to reproduce:
1. Open the attached project "1347178.zip"
2. Open Build Settings and change to Android platform
3. Make sure that "IL2CPP" Scripting Backend and Split Application Binary is enabled in Project Settings
4. In Build Settings, press Build and save as "test.apk"
5. Through the File Explorer navigate to the project folder
6. Make copy of "test.main.obb" and rename it to "test.patch.obb"
7. Open the newly built "test.patch.obb" with any file compression program
8. Delete the 'Assets/Bin' folder
9. Open a terminal
10. Run the following ADB commands:
a. adb install -r "apk path"
b. adb push <test.main.obb path> /storage/self/primary/Android/obb/com.testObb.testObb/main.1.com.testObb.testObb.obb
c. adb push <test.patch.obb path> /storage/self/primary/Android/obb/com.testObb.testObb/patch.1.com.testObb.testObb.obb
Expected result: The app opens without crashing
Actual result: The app crashes
Reproducible with: 2020.3.17f1, 2021.1.19f1, 2021.2.0a17
Not reproducible with: 2019.4.30f1, 2021.2.0a18, 2021.2.0b10, 2022.1.0a8
Reproducible on:
VLNQA00288, Samsung Galaxy J7 (SM-J730F), Android 8.1.0, CPU: Exynos 7 Octa 7870, GPU: Mali-T830
VLNQA00022, Xiaomi Redmi Note 3 (Redmi Note 3), Android 6.0.1, CPU: Snapdragon 617 MSM8952, GPU: Adreno (TM) 510
VLNQA00001, Google Pixel 2 (Pixel 2), Android 11, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00316, Samsung Galaxy Note10 (SM-N970F), Android 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
VLNQA00225, Qualcomm null (SDM845 for arm64), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
Note:
- In Unity 2021.2.0b10 and 2022.1.0a8, obb file has different contents (only bin folder in assets folder)
- Does not reproduce if the app is opened before pushing "test.patch.obb"
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
- Shader Graph Create Node window cannot be resized or moved after maximizing and reopening it
- [Usability] Cannot toggle Scene checkboxes using TAB/Enter in Build Profiles’ > Open Scene List
- Installing HDRP package throws Shader Graph validation warning about Exposure node when installed in Universal 3D Template
- ShaderGraph “Create Node” menu’s resize icon overlaps with the menu's scrollbar
- ShaderGraph “Create Node” menu’s Search bar's typing cursor is barely visible since it's black on a dark background
Resolution Note:
There are no fixes planned for this Bug