Has this nasty behaviour been fixed in 0a15?
Thank you.
On the top right there’s a dropdown called layers. Is your layer visible there (you can hide whole layers in editor)?
Is it visible on camera?
I have tons of objects in other layers and all of them are rendered.
Thanks for your interest.
I wouldn’t have created this thread if I hadn’t verified that first. Every layer is visible and the camera rendering culling mask is set to “everything”. It also happens to new objects just out of the box, no custom materials added, and to procedurally generated objects. What kind of hidden setting could do that?
Are you using Universal RP, just in case the problem would be related to this package?
This happens in a project in which URP is installed. @Jonas-Mortensen
Do you have a ticket # for the issue? You can track the resolution there and contact QA with additional info.
There’s no point poking here if you don’t at least have that #. (ref; 2022.1 pre-release guidelines & announcements - Beta 16 )
The point is to avoid duplicates in case the problem is already known.
Problem fixed for now: I removed Universal RP.
Hey @
If you found a bug, you can just go ahead and report it. We will handle duplicates.
One last thing to check though is the filtering masks on the renderer asset:
Okay, I’ll reinstall URP and take a look but why would this not be set correctly on install? And where are these settings? Thanks.
It should be set correctly (to “everything”) if you didn’t change it. So it might still be a bug you’re encountering.
The setting is on the renderer asset. It’s an asset in the project that is referenced by the pipeline asset, which you can find in the graphics settings (in project settings).
Okay, I created a new project in which I installed URP. Then I followed the instructions here. In the project settings, I added the Universal Rendering Pipeline asset to the graphics and the quality settings. I had done all this in the previous project.
I found the asset you mention and the settings are the same as yours. I added a cube to the scene, changed its layer to a newly created one and… it’s still visible! I guess something was borked in the previous project…
I’ve imported my assets to the new project and everything is fine now. I have no idea what happened since I’m pretty sure I never modified that asset. Oh well, all is well that ends well, shall we say.
Thanks for your help!
I was having this issue, and this solved my problem. Seems really weird that when I create a new layer, its not added to the opaque filtering by default. I feel like that should just happen by default.
If the opaque layer mask is set to everything. Then the intended behavior is that any new layers will be included in the mask. If you’re seeing other behavior it would be great to have a bug report!
If the layer mask is not either Everything or Nothing then new layers are disabled by default.
In unity 6 LTS here. I had this issue with default HDRP project. What I did is I migrated my assets to the Scene Showcase for HDRP (where you have the unity golden ball and the wood floor level)
In that project this issue was not present. Not sure why but that is one quick way to not loose your mind if you have this issue in HDRP.