Search Issue Tracker

Duplicate

Votes

0

Found in

5.0.0b1

Issue ID

625942

Regression

No

API Updater doesn't upgrade gameObject.animation, when gameObject is accessed indirectly

Scripting

-

Import the attached package, click upgrade, "..Unexpected symbol `)'" error is thrown, because 'gObj.animation.clip' has been "upgraded" to 'gObjnimation>().clip', instead of GetComponent<Animation>().

Doesn't happen when gameObject is used directly, only when it's assigned to a variable as in the attached package.

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.