Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

0

Found in

5.3.4f1

Issue ID

796555

Regression

No

[Scripting]Lack of consistency: Int / Integer

Scripting

-

Steps to reproduce:
1. Open attached project.
2. Open script named "Test".
3. Add this line of code somewhere inside of "Test" class:
"GetComponent<Animator>()."
4. Notice that External Script Editor suggests using "SetInteger" or "getInteger" after the dot.
5. Add this line of code somewhere inside of "Test" class:
"GetComponent<Material>()."
6. Notice that External Script Editor suggests using "SetInt" or "getInt" after the dot.

Expected result:
Names of these functions should be unified.

Reproduced with:
5.1.0f3, 5.2.4f1, 5.3.5f1, 5.4.0b18.

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.