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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Add comment