Ysort not working for instanced scenes?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By rubendw03

Hi , i have a little game in wich rigidbodies get spawned (instanced scenes) under the node “Humans”.

scene tree:

  • Main (Node)
    • Bodies (Ysort)
      • Humans (Ysort)
      • Other objects…

Everything gets sorted perfectly except for the instanced scenes… Does anyone know a fix for that?

the instanced scenes are not working with Humans yet working with themselves or not working at all?

have you tried instancing everything under the same Ysort(including the humans, so they all have the same parent)?

rustyStriker | 2020-04-01 14:27

The instanced scenes are working correctly. They only don’t get sorted…
They get spawned as a child of the ysort “Humans”.

rubendw03 | 2020-04-01 14:51

:bust_in_silhouette: Reply From: jasonwolf493

Wow, Ive been playing around with ysort for over an hour now thinking that maybe a project setting or script was messing with it I completely over-looked this.

Is this a bug? or is there some real reason why this doesn’t work because this just complicates things…

I just opened a bug on github ill let you know what the reply is.