Search Issue Tracker
By Design
Votes
2
Found in
2019.1.0a12
2019.3
2019.3.14f1
2019.4
2020.1
2020.2
Issue ID
1251505
Regression
Yes
[Android] Crash on armv7 IL2CPP Build when using Custom Compression
Reproduction steps:
1. Open the attached "1251505.zip" project
2. Build and Run on a device that supports armv7 Target Architecture
Reproducible with: 2019.1.0a12, 2019.2.21f1, 2019.3.16f1, 2019.4.0f1, 2020.1.0b12, 2020.2.0a14
Not reproducible with: 2018.4.23f1, 2019.1.0a11
Reproducible on:
VLNQA00314, Lge Nexus 5X (Nexus 5X), Android 8.0.0, CPU: Snapdragon 808, GPU: Adreno (TM) 418
VLNQA00069, Motorola Moto G (5) Plus (Moto G (4)), Android 7.0, CPU: Snapdragon 617 MSM8952, GPU: Adreno (TM) 405
VLNQA00052, Xiaomi MI MAX (MI MAX), Android 7.0, CPU: Snapdragon 617 MSM8952, GPU: Adreno (TM) 510
VLNQA00320, Xiaomi - (Redmi Note 8 Pro), Android 9, CPU: MediaTek Helios G90T MT6785T, GPU: Mali-G76 MC4
Not reproducible on:
iPad 9.7 (2018) 6th gen (iOS 12.1)
iPad Air 2 (iOS 11.0.3)
iPhone 8 Plus (iOS 12.0)
iPhone XR (iOS 13.4.1)
Notes:
-Does not reproduce when building in Mono or IL2CPP (arm64)
First few lines of stacktrace:
07-04 16:10:04.653 8622 8637 I Unity : ====== Compressing font using the device..===== bytes=4845972
07-04 16:10:04.653 8622 8637 I Unity : UnityEngine.Logger:Log(LogType, Object)
07-04 16:10:04.653 8622 8637 I Unity : System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object)
07-04 16:10:04.653 8622 8637 I Unity : System.Threading.ContextCallback:Invoke(Object)
07-04 16:10:04.653 8622 8637 I Unity : System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
07-04 16:10:04.653 8622 8637 I Unity : System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
07-04 16:10:04.653 8622 8637 I Unity : System.Runtime.CompilerServices.MoveNextRunner:Run()
07-04 16:10:04.653 8622 8637 I Unity : System.Action:Invoke()
07-04 16:10:04.653 8622 8637 I Unity : System.Threading.Tasks.<>c:<.cctor>b__7_0(Object)
07-04 16:10:04.653 8622 8637 I Unity : System.Threading.SendOrPostCallback:Invoke(Object)
07-04 16:10:04.653 8622 8637 I Unity : UnityEngine.UnitySynchronizationContext:Exec()
-
warfronts
Aug 09, 2020 15:37
By the way here is the new thread with the fix:
https://github.com/MiloszKrajewski/K4os.Compression.LZ4/issues/40#issuecomment-671049486 -
warfronts
Aug 09, 2020 15:36
Hey Unity team,
Mikos did iterate over this bug.
We would like to have the Unity project link to update some dlls.
Do you have the link reference? Thanks.
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
- [Linux][OpenGL][Vulkan] Draw calls are not shown in the Event List when taking a capture of a frame with RenderDoc
- Inaccurate collision detections when Rigidbody Collision Detection is set to "Continuous" or "Continuous Dynamic"
- Crash on Object::IncrementPersistentDirtyIndex when upgrading project version
- [iOS] Multiple Xcode project instances created before opens up when performing Build and Run for iOS Platform
- IL2CPP Player crash on memset in VCRUNTIME140D when selecting UI GameObject
Resolution Note (2020.2.X):
The C# library used in this case is doing unaligned memory access, which is not allowed on armv7. See https://github.com/MiloszKrajewski/K4os.Compression.LZ4/issues/19 for details.