Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2020.3
2020.3.23f1
2021.1
Issue ID
1385426
Regression
No
[Android] Build throws an exception when changing Target Architecture from only ARM64 to ARM64 and ARMv7
Reproduction steps:
1. Open the attached project "objectException" and open "SampleScene"
2. Change the platform to Android and Scripting Backend to IL2CPP
3. Make sure the only selected Target Architecture is ARM64 (Player Settings > Other Settings)
4. Build And Run
5. Uncomment the "Update" function in the "TestCrash" script
6. Select both ARM64 and ARMv7 Target Architectures
7. Build And Run again
8. Open Logcat to check for errors (Window > Analysis > Android Logcat)
Expected result: The number on the screen is increasing and no exceptions are thrown
Actual result: The number on the screen is stuck on 0.020 and exceptions are thrown: "NullReferenceException: Object reference not set to an instance of an object." and "Error Unity at TestCrash.AddValue (System.Single value) [0x00000] in <00000000000000000000000000000000>:0"
Reproducible with: 2020.3.26f1, 2021.1.28f1
Not reproducible with: 2021.2.0b4, 2021.2.8f1, 2022.1.0b3, 2022.2.0a1
Could not test with: 2019.4.34f1 (Editor not responsive), 2021.2.0b3 (Compilation errors)
Reproducible with these devices:
VLNQA00331 - HUAWEI P20 lite (ANE-LX1), OS: 9, CPU: HiSilicon Kirin 659, GPU: Mali-T830
VLNQA00261 - Samsung Galaxy S10+ USA (SM-G975U), OS: 9.0.0, CPU: Snapdragon 855 SM8150, GPU: Adreno 640
VLNQA00321 - Xiaomi MI 9 (MI 9), OS: 10.0.0, CPU: Snapdragon 855 SM8150, GPU: Adreno 640
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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0b4