Search Issue Tracker
Fixed in 5.4.1
Votes
1
Found in
5.3.5f1
Issue ID
800548
Regression
Yes
[API update]Compiler errors remain even when the obsolete scripts are deleted all together
Steps to reproduce:
1. Download and open attached project ("w.zip").
2. Download and open attached scripts ("script_testes.7z").
3. Select both of these scripts, drag and drop them to the project's "Assets" folder.
4. "API Update Required" window appears. Click "No Thanks".
5. Notice that the "Console" window outputs several compiler errors.
6. In the "Assets" folder select both of these scripts and delete them.
7. Notice that two error messages remain in the "Console" window:
"Assets/Camera_teste.js(12,9): BCE0144: 'UnityEngine.Component.camera' is obsolete. Property camera has been deprecated. Use GetComponent<Camera>() instead. (UnityUpgradable)
Assets/Camera_teste.js(8,1): BCE0144: 'UnityEngine.Component.camera' is obsolete. Property camera has been deprecated. Use GetComponent<Camera>() instead. (UnityUpgradable)"
Expected result:
Compiler errors should disappear automatically when all the obsolete scripts are deleted from the "Assets" folder.
(These compiler errors does not prevent user from entering the play mode. However, entering the play mode does not solve the issue).
Workarounds:
1. Restart the Editor or re-import all the assets.
2. Delete all the obsolete scripts one-by-one.
Reproduced with:
5.3.4f1, 5.3.5f1, 5.3.5p1, 5.4.0b18.
Cannot reproduce with:
5.1.0f3, 5.2.4f1.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
Add comment