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
- Changes are not applied when selecting Platform settings for Plugins
- Particle System only collides with one Terrain Collider at a time when Collision Type is set to 'World'
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
Add comment