- Home /
Advanced Icon Control: Setting app icon in cloud build pre-export hook?
At our company we have multiple builds of the same project going on at once. Most importantly, alpha, beta and release builds. These clutter up the phone (android) with identical icons, which I want to make different depending on the build.
Because the icon is set in unity, and not the build settings however, this is more difficult than it seems. As with everyone else, I set the icon in player settings.
I then wrote a simple pre-export method which switches out the image file with the alpha build image. This method is working, but... not on the app icon. It changes the icon in the cloud build emails, but once installed, the app icon is still the same as the original icon.
My main theory is that the app icon is actually generated before the pre-build hook is activated. My secondary theory is that the Cloud Build is tracking changes to the files and realises the files have been renamed and goes after the original one - but i don't know why the icon changes in the emails in this case...
Has anyone tried to deal with this before? Does anyone know where the app icon is save to? maybe I can edit the app icon file itself, pre or post build...?
Your answer

Follow this Question
Related Questions
Exporting a unity asset as a Package,but have not Preview Picture?help me please 0 Answers
Cloud recognition in Vuforia 0 Answers
Programmatically Exporting an Asset Package 4 Answers
How can you export a prefab as a package and retain a Lightmap (that was generated by Unity)? 5 Answers
Blender to unity issue 1 Answer