Help! Unknown error

When I imported the Strandard Asset pack I was greeted with an error and many warnings. I am now unable to start the game because of this error.

This is NOT my code and I have no idea what’s wrong. I do not want to mess around in a script that is not mine, in fear that it will break.

What should I do?

Hi kriryl,

Please double click on the error message and do what it says. Replace GUIText with UI.Text. Then save the script.

Did this fix it?


See also:

No.
Replacing GUIText with UI.Text didn’t work. But I don’t think it’s supposed to?
I assume GUIText is a type. UI.Text is nothing. I don’t think a period in the middle is allowed to be a type anyway.

I’m also worried about the warning messages that popped up.

Ok, so it finally worked! All I had to do was to include the UnityEngine.UI on top, then replace GUIText with Text.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms