Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.1.1f1
Issue ID
960482
Regression
No
[Android] Calling Marshal.PtrToStructure with a struct that contains an array of bytes fails with null reference exception
To reproduce:
1. Download and open attached "repro960482.zip" project.
2. Build and run on any android device.
Expected result: Structure is successfully read.
Actual result: Null Reference expection appears. Structure is not read.
Reproduced with: 2018.1.0a4, 2017.3.0b9, 2017.2.0p2, 2017.1.2p3, 5.6.4p3, 5.5.5p1, 5.4.6f3.
Devices Under Test:
Samsung SM G950U*, OS:7.0, CPU:arm64-v8a, GPU:Adreno (TM) 540,
Build:samsung/dreamqltesq/dreamqltesq:7.0/NRD90M/G950USQU1AQC8:user/release-keys
Google Pixel XL*, OS:8.0.0, CPU:arm64-v8a, GPU:Adreno (TM) 530,
Build:google/marlin/marlin:8.0.0/OPR6.170623.012/4283428:user/release-keys
Samsung SM G903F*, OS:6.0.1, CPU:armeabi-v7a,
GPU:Mali-T720, Build:samsung/s5neoltexx/s5neolte:6.0.1/MMB29K/G903FXXU1BQC1:user/release-keys
Notes: Did not reproduce on Editor, Standalone and iOS builds.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
Add comment