Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.4.5f1
2020.2
Issue ID
1267967
Regression
No
Crash on x86 architecture with a native access violation on _initPointerInputDetector
How to reproduce:
1. Open the attached "IL2CPPIssueRepro.zip" project
2. Open the Build Settings Window -> Set the Architecture to x86
3. Build and Run
Expected result: The project builds successfully
Actual result: The project crashes on a native access violation when _initPointerInputDetector tries to access the members of the WebViewPrefab instance
Reproducible with: 2018.4.26f1, 2019.4.9f1, 2020.1.4f1, 2020.2.0b1
Notes:
- Only IL2CPP backend is affected
- The issue is only reproducible on Standalone and UWP with x86 architecture
- The issue does not appear when using x86_64 architecture
- WebViewPrefab.cs executes WebViewPrefab._initPointerInputDetector from WebViewPrefab._initWebViewIfReady, which itself is called from an Action<T>
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
- [Android] [UIToolkit] FPS drops/increase in time consumption in the UI Toolkit rendering when adding "style.backgroundColor" and/or "style.backgroundImage" to the VisualElement
- onDisable not always called for SearchProvider
- Build failure errors are cleared in console before you can read them
- Sprite Library Editor contains corrupted and low resolution icons
- [Linux] Players Application window does not update on move when window is changed from full-screen mode
Resolution Note:
The native library in this case assume the managed method it is calling uses the __cdecl calling convention. Instead, it should use the __stdcall calling convention.