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

uGUI

-

"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.'

  1. 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.

Comments (3)

  1. 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

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.