Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

Android app crash in instantiating prefab

$
0
0
Hi, I'm facing a probleme in my application when I deploy it on android.
The application work fine but when i try to instantiate many buttons from the same prefab the application crash.
It work well in the editor but not on mobile
It may be some optimization problemes but I can't figure out what to change.
List listHiragana = LessonManager.Instance.GetHiragana(); // 104 elements foreach (Hiragana hiragana in listHiragana) { //création des boutons /* GameObject btnTemp = PrefabButtonGrid; PrefabButtonGrid.GetComponentInChildren().text = hiragana.hiragana; GameObject Btn_Hiragana = Instantiate(PrefabButtonGrid, GridButton.transform); Btn_Hiragana.GetComponent

Viewing all articles
Browse latest Browse all 2383

Trending Articles



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