Search Issue Tracker

Won't Fix



Found in


Issue ID




[WSA] Run-Time Check Failure #2 is thrown when FieldOffset workaround is used under il2cpp

Steps to reproduce:
1. Open the attached project
2. Open the scene.unity scene
3. Switch Platform to Windows Store
4. Attach the BugRepro script to any object in the scene
5. Build for Windows Store
6. Open Visual Studio solution
7. Deploy on Local machine
8. Observe the error

Actual results: "Run-Time Check Failure #2 - Stack around the variable 'V_0' was corrupted." is thrown
Expected results: Editor should crash

Reproduced with: 5.6.4p4, 2017.1.3f1, 2017.2.1p1
Not reproduced with: 2017.3.0f3, 2018.1.0b1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.