Unity 4.6.0b17 gives me this error:
I think (but i may be wrong) that this simple code updating Text.text string causes it and I have no idea why or how to fix it:
void Update () {
textComponent_displayResourcesEnergy.text = Registry.mainPlayer.faction.resources[DefinitionsItems.ResourceTypes.energy].ToString("0000");
textComponent_displayResourcesData.text = Registry.mainPlayer.faction.resources[DefinitionsItems.ResourceTypes.data].ToString("0000");
textComponent_displayResourcesScience.text = Registry.mainPlayer.faction.resources[DefinitionsItems.ResourceTypes.science].ToString("0000");
}
Communicate seems clear but I don’t know what to do about it. Please give me some directions where to look
I found “UnityEngine.UI.CanvasUpdateRegistry” and it looks like it may have something to do with this. But it’s documentation is rather scarce at the moment
Tim-C
August 21, 2014, 8:14pm
3
Hi this should not be happening, can you please log a bug.
Al3XXX
February 9, 2015, 5:42pm
5
Do you solve your problem? I have the same one.
In my case - next Unity build (update) fixed it completely. Try reporting it via “Help>Report a bug”, it may be similar internal bug.
Al3XXX
February 10, 2015, 5:26pm
7
I was trying to do it, but there are bugs without end.
Al3XXX
February 10, 2015, 5:42pm
8
Holy crap: my version is 4.6beta18. But every time when I checked unity said: “All is okay. You have newest version”
But now I see what it’s not. Eh.
will be trying to update.
1 Like