Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0b7
Issue ID
1095457
Regression
No
[Android][IL2CPP] App crashes when accessing unsafe byte data
Repro steps:
1. Open user attached project
2. Build and Run
3. Play
Actual: App crashes
Reproducible with: 2017.3.0p2, 2017.4.15f1, 2018.2.16f1, 2018.3.0b11, 2019.1.0a10
Not reproducible with: 2017.3.0p1
DUT:
Reproduced on:
VLNQA00124, Google Pixel 2 XL (Pixel 2 XL), Android 9, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00067, Motorola RAZR D1 (XT914), Android 4.1.2, CPU: MediaTek MT6575, GPU: PowerVR SGX 531
VLNQA00021, Samsung Galaxy S7 (SM-G930F), Android 7.0, CPU: Exynos 8 Octa 8890, GPU: Mali-T880
VLNQA00134, Samsung Galaxy S8 (SM-G950F), Android 8.0.0, CPU: Exynos 9 Octa 8895, GPU: Mali-G71
Didn't reproduce on:
iPhone 6 Plus 8.0
Notes:
- Doesn’t reproduce either on WindowsStandalone nor MacStandalone
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
- NullReferenceException is thrown when assigning PanelSettings asset to a UIDocument dynamically at runtime
- Crash on GfxDeviceD3D12Base::DrawBuffersCommon when disabling "Allow FSR2" parameter while in Play Mode with Direct3D12 set as graphics API
- Crash on vkGetInstanceProcAddr when setting graphics API to "Vulkan" on Fantasy Kingdom learning project
- Overlay Camera "clear depth" not working on Vulkan+Pixel8
- Shadows from Shadow Caster 2D using 2D Colliders show incorrectly when tiles are removed at runtime
Resolution Note:
The code in this project is doing unaligned memory access in unsafe C# code. The behavior of the code generated by IL2CPP is correct. The unsafe code should protect itself against unaligned memory access on platforms where that is not allowed (like Android armv7).