Custom Procedural Skybox disappears at build (Android)

Hi there

I’m in the Android environement in Unity, create a custom procedural skybox material and apply it in the Lighting panel.
→ it works just fine in the Game preview
→ when I make a build to launch on my Android device, during build, the skybox material reverts to the default one (in the game window)
=> no custom skybox procedural material in my app on the device

  • once the build is done, the game windows re-reverts to my custom material

How can I solve this ?

ps: I use this way to do it

some ideas to check

  • are you building that scene? (in build settings, is there some other scene in that list)
  • any errors/warnings in the device log How to use adb logcat? - Questions & Answers - Unity Discussions
  • are you loading scenes additively? (apparently then you need to set that skybox scene as main scene for it to become active)
  • maybe some screenshots/video of your issue or editor setup could help

thank you @mgear

investigating your tips right now

Here is it like before I launch a Build


And here while buidling

THANK YOU, GRACIAS, MERCI, OBRIGADO, GRAZIE, DANK JE, EFCHARISTO !!!

you @mgear , you freed me of a jail I was stuck in for one month !!!

That was it, having played with various scenes during dev, I had a scene in “scenes in build”, in the build interface, that was messing the whole thing

=> make sure you have only 1 scene here and that it is the good one

ps:
I’d like to get the answer to that question though
How do you “set that skybox scene as main scene” ?

nice!, setting active scene:

2 Likes