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

Hard crash on Android builds when executing GameObject.SetActive();

$
0
0
My build crashes whenever I execute SetActive on any GameObject, except cameras for some reason. I've tried building with different versions of the Unity Editor. Still the same result. When I comment out the line where I do SetActive, everything works as intended. There's nothing in the console because it's an hard crash. It's only on builds, not in the Unity Editor. Do somebody have any ideas? Thanks in advance

Viewing all articles
Browse latest Browse all 2383

Trending Articles