Search Issue Tracker

Won't Fix

Votes

1

Found in

2017.1.0p2

Issue ID

938830

Regression

No

[IL2CPP] Obsolete "BuildOptions.ForceOptimizeScriptCompilation" suggests a nonexisting alternative

IL2CPP

-

To reproduce:
1. Open project attached by QA
2. Check the console and notice warning:
warning CS0618: `UnityEditor.BuildOptions.ForceOptimizeScriptCompilation' is obsolete: `Specify IL2CPP optimization level in Player Settings.'
3. Open Player Settings and notice that there is no IL2CPP optimization level option (iOS or Android platform with IL2CPP backend).

Expected: As warning suggests there should be IL2CPP optimization level option in Player Settings.
Actual: There is no such an option.

Reproduced with: 2017.1.0p2, 2017.2.0b6, 2017.3.0a3
'ForceOptimizeScriptCompilation' is not obsolete in earlier versions.

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.