Quantcast
Channel: Answers for "get_enabled can only be called from the main thread."
Browsing all 4 articles
Browse latest View live

Answer by hav_ngs_ru

maybe you have conflict with [Text][1] or smth like this? Try to avoid using name Text (use MyText or smth else). [1]: http://docs.unity3d.com/ScriptReference/UI.Text.html

View Article


Answer by NathanHold

text.text = obj.Get("Name"); [Is not thread safe.][1] You must put it outside of the asynchronous call. [1]: http://answers.unity3d.com/questions/7524/is-the-unity-api-threadsafe.html

View Article


Answer by hav_ngs_ru

maybe you have conflict with [Text][1] or smth like this? Try to avoid using name Text (use MyText or smth else). [1]: http://docs.unity3d.com/ScriptReference/UI.Text.html

View Article

Answer by NathanHold

text.text = obj.Get("Name"); [Is not thread safe.][1] You must put it outside of the asynchronous call. [1]: http://answers.unity3d.com/questions/7524/is-the-unity-api-threadsafe.html

View Article
Browsing all 4 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>