As a Roblox developer, it is currently too hard to …
I was doing something for a tests. In that test, I used a Model and the game was in StreamingEnabled. I wanted to validate the Model.
I wanted to enforce a rule, where
assert(
template.ModelStreamingMode == Enum.ModelStreamingMode.Persistent,
"Not set to Persistent"
)
However, on the client, something like this doesn’t matter. If the client cloned an Instance or similar, it will never stream out, regardless of mode. So, I wouldn’t have to check this validation if the Instance was created by the client, if I’d have an entire different design.
Now, the problem is, there is no official way to check if an Instance is created by the client. Unlike this method :ApplyDescriptionAsync Explorer issue OR Humanoid "ApplyDescriptionAsync" errors if the Humanoid is cloned through the Explorer while on the client, but it shouldn't
One workaround is to send the Instance through a Remote, to ask the server if it knows about it, and if not, it can be assumed that it is client-side. But that is very silly.
If Roblox is able to address this issue, it would improve my development experience because …
I can check if an Instance is created by the client or not, allowing a lot of opportunities for things. Like checking if I want to make sure that ModelStreamingMode is set to Persistent or not.
It would also make it possible to check which Humanoid I can use :ApplyDescriptionAsync on and which one not.