Camera preview not showing when I select my camera, bad idea!

So, now selecting the camera in the hierarchy no longer toggles the camera preview, to toggle it, we need to do so in the “overlays” menu. Please bring back the previous behaviour! Thank you.

You may keep the camera preview not disappearing when we deselect the camera though, it could be useful.

There is also another problem with the camera preview. The yellow thing you see in the middle of the camera preview on the image below is my desktop wallpaper behind the editor…

1 Like

Thank you…and for future reference, here’s how to access said menu.

1 Like

Hopefully someone will do something about that.

1 Like

Not fixed in 0a18. What you see behind the cube on the image is Visual Studio open just behind the editor.

9547288--1348870--Capture d’écran_2023-12-25_14-14-56.jpg

Take what I say with a grain of salt, but throwing out a couple ideas of the issue.

Couple things came to my mind with this.
Also might want to mention if this is with a render pipeline or cinemachine enabled.

The Hierarchy changes where some of the selection functions were moved over to a newer API in Alpha 17.
Talking about moving stuff to menu.AddItem in the SceneHiearchy C# class.

Could be related to an annoying bug about serialization and the inspector not repainting and updating certain things.
For weeks now certain classes are not updating their serialized values in the inspector both in 2023.2 and 2023.3.

Try turning on use IMGUI for inspector in the editor settings. This has fixed a lot of bugs in both scene view selection and just selected assets not updating the inspector and calling selection events properly.

Just throwing out things that came to my mind.

Thanks for bothering. :slight_smile:

I just found the cause of the problem: for some reason the camera background colour alpha channel was set to 0 and I have no idea how this happened. It wasn’t before I upgraded my project to Unity Alpha.

Problem solved then!

9548704--1349227--Capture d’écran_2023-12-26_18-45-45.jpg

I still would love to have an option “show camera preview on camera selection”, please. Thank you.

1 Like

Now I know it wasn’t my fault. I just created a 2D project and the camera background colour alpha channel is set to 0.

9553606--1350232--Capture d’écran_2023-12-29_23-09-11.png

So I created a new project and my setting was correct.

Are you using URP for your project. I noticed the camera doesn’t have some of the URP settings.?
When testing this I created a URP project not a BIRP project.

1 Like

Me too.

1 Like

Me as well, it’s very inconvenient to have to manually select which camera to preview

@CodeSmile Sorry that I bother you. How do we ask the team to change that behaviour and bring back the old one: camera preview reflects the camera selected in the hierarchy? It’s not a bug, it’s a choice.

Sorry for the very late answer. Yes, it was a URP project.

@WilbertBlom Anyway, I created a new project in Unity 6; they come with URP by default ; the problem is still there, you must choose which camera to render… :-1: :thinking:

Me too! Super Strong Request