Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.3.0a4
2019.3.0a5
Issue ID
1158878
Regression
Yes
[IMGUI] "GUI Text" and "GUI Texture" are obsolete and do not get auto-updated in 2019.3.0a4
"GUI Text" and "GUI Texture" are obsolete and do not get auto-updated in 2019.3.0a4.
Steps to reproduce:
1) Create a new project.
2) Window > Asset store
3) Download and Import project, "2d platformer"
OR
2) Import attached script, "Test.cs"
Actual result: Console throws errors "GUI Text" and "GUI Texture" are obsolete.
Expected result: Autoupdater updates "GUI Text" and "GUI Texture" to UI.Text and UI.Image
Occurs on: 2019.3.0a5, 2019.3.0a4
Works fine on: 2019.3.0a3
Environment: Both Windows and Mac
Stack trace:
Assets\Scripts\Test.cs(12,10): error CS0619: 'GUITexture' is obsolete: 'GUITexture has been removed. Use UI.Image instead.'
Assets\Scripts\Test.cs(13,10): error CS0619: 'GUIText' is obsolete: 'GUIText has been removed. Use UI.Text instead.'
Comments (3)
-
Pilltech101
Jun 27, 2019 20:10
If this is true then way under Please Note Under your website does it say if you are using IMGUI to disregarded the deprecations ???
https://docs.unity3d.com/Manual/class-GUITexture.html
This has put a big stop in my production. You(Unity) and I both know your IMGUI Rendering is a lot better than the UI system.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note (2019.3.X):
There is not way to auto convert GUITexture and GUIText to Image and Text as positioning and other data dont line up. Those classes have been deprecated for 5 years now (since 4.6) so any changes should have been made by now.