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.4.0b18

Issue ID

800154

Regression

No

[API update] Boo/UnityScript scripts accessing obsoleted indexer properties are not detected by APIUpdater

Scripting

-

Steps to reproduce:
1. Download and open attached project.
2. Download and open folder named "script_testes".
3. Drag and drop script named "Camera_teste.js" to the "Assets" folder and press "I Made a Backup. Go Ahead!" button.
4. Notice that the "Console" window informs:
"Finished updating scripts / assemblies"
5. Drag and drop script named "Velocidade_Anims.js" to the "Assets" folder.
6. Notice that the "Console" window outputs:
"Assets/Velocidade_Anims.js(8,17): BCE0048: Type 'UnityEngine.Component' does not support slicing."
"Assets/Velocidade_Anims.js(12,17): BCE0048: Type 'UnityEngine.Component' does not support slicing."
(all these compiler errors should be fixed before entering playmode)
7. Delete these two scripts from the "Assets" folder.
8. Import scripts in different order (firstly, import script named "Velocidade_Anims.js", then, import script named "Camera_teste.js").
9. Notice that the "Console" window outputs:
"Finished updating scripts / assemblies"
(there are no compiler errors visible)

Expected result:
Importing scripts in different order should not have such an impact on API updating.

Reproduced with:
5.1.0f3, 5.2.4f1, 5.3.5f1, 5.3.5p1, 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.