- Home /
Why does old text in GUILayout not disappear?
The GUILabel shown in the picture below is the problem. When the text of the label is updated the old text remains and is not cleared, what am I doing wrong? This only occurs in the built version, not in the editor.
void OnGUI()
{
GUILayout.Label(PhotonNetwork.connectionStateDetailed.ToString());
}
error.png
(6.6 kB)
Comment
Answer by RoloJo · Jan 05, 2016 at 07:44 AM
The solution to this problem was to add a Camera to the Scene.
Your answer
Follow this Question
Related Questions
GUILayout Sort Problem 1 Answer
Additional parameters for GUILayout.Label 1 Answer
Fade out GUILayout Area? 1 Answer
GUILayout Icon + Text 3 Answers
For Loop GUILayout.Label Problems 1 Answer