I was wondering if there’s any solution or a workaround for a SpriteRenderer that is a child of a SortingGroup to ignore the SortingLayer of said SortingGroup, in order to allow setting the Layer for that specific Renderer individually?
The proposed solution in this thread is basically exactly what I need, however I’m not sure if it was ever implemented in newer version as I’m still on 2020.3. As upgrading my Unity version for my current project is probably off the table, I was wondering wether there is any workaround for a Renderer to ignore the parent SortingGroup?
Yes @tbngrd , this was implemented in 22.1 due to popular request where we added a new Sort at Root checkbox. Enabling this option will ignore all parent Sorting Groups if this Sorting Group was nested. Which then allows this particular Sorting Group to be sorted against other Renderers and Sorting Groups at the root level. Here’s the full documentation if you are curious.
However, this is only available from 22.1 onwards. It wasn’t backported as it was an added feature and not a bug per se.
So I’m not aware of any workaround for 20.3 but I thought I would give you a free bump until someone wiser hops along.