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
↧