DataModel.Name lacks documentation on what values it can/should take

I feel there should be more documentation on DataModel.Name because print(game.Name) can often output some strange and inconsistent results. If there were proper documentation, maybe there would be a good use case knowing its functionality.

Examples of different cases

Immediately after launching studio:
Screen Shot 2020-04-26 at 5.30.41 PM

After doing a test play in studio:
Screen Shot 2020-04-26 at 5.31.02 PM

In a .rbxl file:
Screen Shot 2020-04-26 at 5.37.28 PM

In game:
Screen Shot 2020-04-26 at 5.32.04 PM

2 Likes

I don’t think ROBLOX would really want to fix this, since game.Name is a bit useless.

I’m not on the studio team, so I can’t say for sure until I look into this… but I can venture a guess. I believe that the behavior of this property isn’t defined. As in, it is what it is, and there’s not meant to be a rhyme or reason. You probably shouldn’t use it for anything important.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.