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

IL2CPP

-

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.

  1. Response avatar

    Resolution Note:

    This is corrected in 2018.4 and later. We don't plan to back port the fix for it to 2017.4.

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.