Hello~!
I write to you, wise gurus of the internet, because I am going insane haha.
We are making a game in Unity 6.0 2D Mobile core, and are attempting to add a skybox for a neat background. Unfortunately, it feels impossible to do so, as no matter what we do, it doesn’t show in neither scene, game or simulator window.
Things we have tried:
- Making new skybox material
- Drag and drop onto background
- Select skybox material in Environment under lighting settings
- Change camera environment background type to SkyBox (we are using Cinemachine, but I don’t remember that affecting the issue)
- Going from 2D view to 3D
- Enabling and disabling post-processing
- Cycling through view styles and gizmo visibility
If any of you have any suggestions or insights, it would be greatly appreciated~!
Our current working theory is that skyboxes simply do not work in 2D mobile core, but that hardly seems right either…
2 Likes
Do you get a skybox when you create a new scene? This will default to “3D”.
I noticed in my 2D project that the camera settings were a little different than I’m used to in 3D and particularly I didn’t get the skybox either. Since this is a 3D object perhaps that is disabled in orthographic camera. Try changing it to perspective for a quick test.
I just tried making a test 3D scene but the same issue occured. I swapped between orthographic and perspective in both scene view and camera settings with no luck.
(In the picture I changed it to my own skybox, but it neither came with one nor worked with a standard one either)
I am having a similar problem (no skybox anywhere despite checking every setting in other help posts).
- Started the project in 2D URP
- Converted to 3D using the instructions on here Unity - Manual: 2D and 3D mode settings
- Made a new Scene, which has a 3D (Orthographic) camera but no visible skybox in Scene or Game views
I have done most of the same steps in the top post with no results:
- Select Skybox material in Environment under lighting settings (I am fine with the default skybox for now)
- I am using the default camera, it already had Skybox as the Background Type
- There is no “Clear flags” setting on the camera, which was the solution to past posts
- The scene has the skybox toggled on
The one thing that might be the issue is the camera’s rendering settings.
I do not know how to populate this list with 3D options. I do not even know if it would be the fix.
Edit: I found the Clear Flags setting, that didn’t fix anything either.
This thread is quiet old, but I just solve this problem now.
I hope this comment can help someone like me. (It takes 2 hours to fix…)
If you created a 2D URP Project, the URP Setting might be optimized for 2D(No Skybox).
So you can fix it by following next steps.
-
Create New URP Asset
[Project - Create - Rendering - URP Asset (with Universal Renderer)]
-
Change Project’s URP Asset from 2D to 3D
[Edit - Project Settings - Graphics - Default Render Pipeline] → Change asset to what we created at #1.
-
And other Skybox Settings…
#1) Check [Camera - Environment - Background Type] is “Skybox”
#2) Set Skybox Material in [Window - Rendering - Lighting - Environment]
#2’) or, You can just add “Skybox” component on Camera GameObject and set a material.
(P.S. ChatGPT or Claude or what else don’t know about URP…)
1 Like
You, my good sir, are an absolute legend <3