My cubemap is black on dev build

Hi, after checking the discord and the documentation, i can’t find why my cubemap is black in dev build
I think my settings are okay, did i miss something ?




Original Post on Discord

by user 241452911240937472

Can you check if your Camera’s clear flags are set to skybox?
And if you get any error on export in Unity?

Also double check if your Gltf Object has the “Embed Skybox” enabled.
image.png

It seem ok, i forget to mention im using URP

by user 241452911240937472

It’s already checked too

by user 241452911240937472

What shader do you use on the skybox material?

Skybox/Cubemap

by user 241452911240937472

image.png

by user 241452911240937472

In this screenshot the preview for the skybox is also black. Are you sure this is correctly set up and you don’t have another e.g. “Skybox” component in the scene somewhere that overrides this material?

If you have this component: somewhere in your scene please remove it - we don’t support that skybox override component right now :slightly_smiling_face:
image.png

Yes sorry, that’s from a previous test, where i try setting the convolution type of the cubemap to diffuse, i tried with none, diffuse, and specular ahah

by user 241452911240937472

No Skybox override in the scene

by user 241452911240937472

Ok! No need to set the convolution type btw, just leave it at the same as in Unity

Can you make a new scene from the Minimal Needle template and check if the same happens there in your project?

Also what Unity version + URP version are you using?

URP version 12.1.8 and Unity 2021.3.15

by user 241452911240937472

Are you sure there’s nothing in the console?

The issue seem to be from the skybox I use, using the Minimal Needle template, i build as is and the default skybox work, but if i put my skybox, it turn black

by user 241452911240937472

Could you screenshot the skybox texture import settings?

by user 241452911240937472