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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #805203