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
- Reflection problems when unbaked Reflection Probes are present
- Light Explorer columns sorting arrow is too small
- Context menu actions (Collapse All, Expand All, Enable All, Disable All, Remove All, Reset All) do nothing in Volume component
- [Android] Audio volume decreases when returning to the app during screen recording
- Graphical issues are caused by GPU Occlusion Culling when using Amplify Shaders
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.