There’s not any problem anymore, it started suddently working with my orginal code. :S
Hi, I made automated building script and it builds the .apk file nicely. Now I would like if it would deploy it right away to the device. I didn’t find any help from other forum posts neither from documentation.
I’m using BuildPipeline.Buildplayer()-function for building and I tried AutoRunPlayer-option but it didn’t work.
BuildPipeline.BuildPlayer(GetScenePaths(), path, BuildTarget.Android, BuildOptions.AutoRunPlayer);
So, is there a way to deploy my fresh build straight to the device from script?