Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4
2017.4.32f1
Issue ID
1218998
Regression
No
[Android] [IL2CPP] Switch statements with 1023 or more cases will not be compiled
How to reproduce:
1. Download and open the attached project "1218998.zip"
2. Build and run
Expected result: "Switch worked" is written in the Text field of the built project
Actual result: "Switch did not work" is written in the Text field of the built project
Reproducible with: 2017.4.37f1
Not reproducible with: 2018.4.17f1, 2019.3.2f1, 2020.1.0a23
Reproducible on:
VLNQA00313, Huawei Y6 Ⅱ Compact (HUAWEI LYO-L01), Android 5.1, CPU: MediaTek MT6735, GPU: Mali-T720
VLNQA00325, Samsung Galaxy Note10 (SM-N970F), Android 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
VLNQA00173, Xiaomi Redmi 6 Pro (Redmi 6 Pro), Android 9, CPU: Snapdragon 625 MSM8953, GPU: Adreno (TM) 506
Does not reproduce on: iPhone 6S iOS 13.3.1
Notes:
Building with Mono scripting backend works as expected.
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
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
Resolution Note:
This is corrected in 2018.4 and later. We don't plan to back port the fix for it to 2017.4.