kriryl
March 8, 2021, 3:14pm
1
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?
Nina
March 8, 2021, 5:58pm
2
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:
kriryl
March 8, 2021, 6:53pm
3
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.
kriryl
March 8, 2021, 7:30pm
4
Ok, so it finally worked! All I had to do was to include the UnityEngine.UI on top, then replace GUIText with Text.
system
Closed
March 9, 2021, 7:30pm
5
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.