Place files containing a StarterPlayer with a lone child StarterCharacterScripts result in a missing StarterPlayerScripts

Reproduction Steps
Open the attached file in Roblox Studio. This issue occurs with both binary and XML place files. A file like this can only be obtained via manual edits or by using a tool like Rojo, which is how this was discovered.
missing-starterplayerscripts.rbxlx (336 Bytes)

Expected Behavior
StarterPlayer should contain both StarterPlayerScripts and StarterCharacterScripts.

Actual Behavior
StarterPlayer only contains StarterCharacterScripts.
image

Issue Area: Studio
Issue Type: Other
Impact: Low
Frequency: Constantly

3 Likes

Thanks for your report! To confirm, the rbxlx does not contain a StarterPlayerScript? The current expected behavior is to not create this if it does not exist.

Hi, thanks for your reply :slight_smile:

To confirm, yes - as described in the linked GitHub issue, all three of the following must be true for this behavior to occur:

  • there is a StarterPlayer defined in the file;
  • there is a StarterCharacterScripts defined in the file;
  • there is not a StarterPlayerScripts defined in the file.