Search Issue Tracker
By Design
Votes
0
Found in
2017.3.0f3
Issue ID
1002068
Regression
No
[Android] Calls from native Android library via registered callbacks are significantly slower when built with IL2CPP
To reproduce:
1. Download and open attached project.
2. Build and run on any android device.
3. Check the logs via ADB logcat.
4. Notice the outputted logs with the TIME label.
Expected result: Time outputted should be less than 1ms.
Actual result: Time outputted varies from 8 ms to 25 ms depending on the device.
Reproduced with: 2018.2.0a1, 2018.1.0b8, 2017.3.1p1, 2017.2.1p4, 2017.1.3p1, 5.6.5p2
Devices under test:
Google Nexus 4, OS:5.1.1, CPU:armeabi-v7a, GPU:Adreno (TM) 320,
Build:google/occam/mako:5.1.1/LMY48T/2237560:user/release-keys
Google Pixel 2 XL, OS:8.1.0, CPU:arm64-v8a, GPU:Adreno (TM) 540,
Build:google/taimen/taimen:8.1.0/OPM1.171019.018/4518263:user/release-keys
Samsung SM G930F*, OS:7.0, CPU:arm64-v8a, GPU:Mali-T880,
Build:samsung/heroltexx/herolte:7.0/NRD90M/G930FXXU1DQJ3:user/release-keys
Notes: Issue does not reproduce with Mono scripting backend. With mono, time to finish the call is mostly around 0.00005 which is less than a millisecond.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment