Summary
While frequently using in-world selection to set a model’s parent and a weld’s Part1 (object properties), I sometimes experience the result of the selection either resulting in no change or an incorrect selection, sometimes a completely incorrect selection that is behind other objects in front of the mouse or nowhere near the mouse or not even currently visible in the window. This isn’t a one-time issue either, and the same wrong selection can be the result for multiple attempts.
Expected Results
When clicking on a BasePart in the game window with an object property clicked prior, the result should never result in no change unless clicking towards the sky or empty area.
When clicking in the game window to set an object property clicked prior, the result should be the BasePart that is clicked on, using the same logic as simply selecting something in Roblox Studio. It should definitely not be selecting a BasePart that is obstructed by another or not currently visible in the window.
Examples (parts selected to show correct result vs extremely incorrect result)
Camera facing down towards a Floor part, yet a Roof part above it with zero collision or selection overlap is chosen instead:
I experience this very frequently as well, for a while actually. If this does get acknowledged, an option to select entire models for ObjectValues or just for the Parent property would be great too. It’s quite the hassle to have to retry multiple times or just find the instance in explorer after giving up
Do you have a simple placefile that demonstrates this issue so we can reproduce it? Having a minimum working example will allow us to isolate and fix your issue quickly.
Thing is, I don’t know how to replicate it. It just happens sometimes for seemingly no reason. I don’t know what I would do to make a repro file for replicating this.
Both of the cases mentioned here involve MeshParts.
Are you sure that it isn’t the collision geometry of the MeshParts being different than how you expect? Because selection in Studio is based on the collision geometry, not the visual geometry like in many other tools.
You can inspect this by enabling the Collision Fidelity visualization mode:
For example, if you have a MeshPart with “Box” fidelity inside of one with “Default” fidelity you could end up selecting the inner one even though visually it’s completely inside the outer one.
Yes, I’ve checked the collision fidelity, and there’s no reason why this feature should be selecting something that is obstructed by others in my view.
Could you DM me a scene where this has happened before so that I can look for anything weird (bad mesh / collision geometry etc)?
I’m still suspicious that this is some issue with the scene content rather than selection logic because the object selector code isn’t doing anything particularly interesting (it just does a standard raycast to find what’s under the cursor). I don’t have any ideas on how it could misbehave.
Upon testing to attempt to purposely recreate the issue, I was only able to catch one of the two issues I described on video: the result of the parent click not returning anything and therefore not changing the parent.
Without recording, it did incorrectly result in a “dummyexterior” being chosen as the parent (look for the instance named that in the file), but I was unable to replicate it beyond that.
Naturally, trying to get it to happen on purpose yields a better experience than when it actually happens during active development
Did it again and I saw it set the property to something only for it to clear right after. It definitely wasn’t the right part to set it to, regardless.
I retried the problem throwing Claude at it and I got a candidate fix that didn’t occur to me the other time I looked into this. I’ll let you know when it’s enabled in a couple of weeks.