In the attached image, when GetPartsInPart is called for the parts, some of the parts are detected as touching the wedges and corner wedges. When GetPartsInPart is called for the wedges and corner wedges, none of the touching parts are detected. Attached is the reproduction place with a script that calls GetPartsInPart on all of the parts and prints the touching parts.
Thank you for the report, this looks like its two different issues:
a collision bug with wedges. We are working on this and will report when a fix is released.
the boxes have canCollide, canQuery and canTouch disabled. so when using GetPartsInPart for wedges, they skip colliding with these boxes. If you want the parts like these to be in spatial queries, you have to use BruteForceAllSlow in the overlapParams to ignore the canCollide flag.