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
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.
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
Add comment