- Home /
Canvas not de-activated when played in APK (works in unity editor)
Hello fellow developers,
I'm trying to enable/disable these canvases to show a game over screen, upgrade screen, etc. on top of the game canvas.
In the unity editor, everything works as expected, but whenever I build the APK and try it on my phone, the canvases aren't de-activated anymore and are all shown on screen. This problem didn't happen before but now it always happens for some reason.
We recently signed our application and added IAP services, but to me it would be weird if that would be the cause of the problem.
Does someone know how to fix this or what can cause this? Any help is appreciated!
How do you expect us to know what the problem is if we don't see the code activating and deactivating canvases? I mean, if it works in the editor it should work when compiled too, aside from things accessing locations like Resources or similar, but we don't know how you turn them off or what you're doing. For all we know you could be using something like OnValidate.
Even if I don't use code and just disable the canvases in the editor, I get this behaviour
You can disable the canvases in the editor while it's running on Android? That's new to me. How do you do it?
Have to agree with @TheSOULDev though.
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
How Add Files In A .apk Android Build 1 Answer
Can't generate apk 1 Answer
How can I minimize size of an app besides resizing textures? 0 Answers
Unity APK crash on Xiaomi Poco 0 Answers