Search Issue Tracker

Duplicate

Votes

0

Found in

5.5.0b9

Issue ID

845824

Regression

No

Unity Obsolete API Updater leaves a semicolon when removing Mesh.Optimize method out of the scripts

Scripting

-

STR:
1. Download the project and obeserve NewBehaviourScript.cs contents
2. Open the project in Unity 5.5 or above
3. Press "I Made a Backup. Go Ahead!" on the "API Update Required" dialogue
4. Observe the contents of the script one more time

Expected: m.Optimize(); is removed (Obsolete function: https://docs.unity3d.com/550/Documentation/ScriptReference/Mesh.Optimize.html)
Actual: m.Optimize(); is replaced with semicolon ";"

Reproduced on: 5.5.0b8, 5.5.0b9, 5.5.0b10, 5.6.0a

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.