Question by
natsu046 · Jul 02, 2019 at 04:30 PM ·
uiui imagestandard-assets
Error CS0619 with Standard Asset
Hello,
When I place a FPS Prefabs in my game, I can't test it because I have this 2 error code.
Assets\Standard Assets\Unity\ForcedReset.cs(6,27): error CS0619 : 'GUITexture' is obsolete: 'GUITexture' has been removed. Use UI.Image Instead.'
And the same but with
Assets\Standard Assets\Unity\SimpleActivatorMenu.cs(10,16): error CS0619 : 'GUIText' is obsolete: 'GUIText' has been removed. Use UI.Text Instead.
But it don't work when I change the files.
Comment
you are using obsolete packages, you will need to update the scripts to work with Image and Text that are really similar to the old GUI elememnts but probably more errors will appear when this gets fixed, or you can install an older version of unity