Hello Everyone,
i upgraded my project from 2019.3 to 2020.1.0a16, each time i launch the game in the Editor i get this error “InvalidOperationException: EnsureRunningOnMainThread can only be called from the main thread” link to the Issue here,
what we liked about this unity version is our APK when down from 80mo to 33mo and the performance seems to be increased, but after building the player (i tested on 4 android devices) the game crashes after few secondes depending on the device capacity.
does anyone faced this problem and is there any workaround ?
Thank you!
Hi!
A fix for this is going to be available in 2020.1.0a18.
There’s no workaround, unfortunately.
1 Like
is it ok to use the Unity 2020.1 as alpha version in Production ?
cause our apk went really down in size and the game increased in performance.
This depends on the amount of risk you’re willing to take. Alphas can break things, and you’ve just encoutered such a case.
I would suggest checking the reason behind the size decrease and performance increase. It might’ve been stated in the release notes between the version you’ve been using before and 2020.1.0a16, if not - I would analyze the apk and project settings to see, why this happened.
1 Like