Studio, save files with spaces cause issues when trying to open that file using the Roblox Studio window button while having something open already

Description

Occurance: Studio
Studio Version: Version 0.517.2.5170362 (64bit)
System: Windows 10 - 64 Bit

I’ve been getting this issue here before, and I never understood why.

image

However, now I started to debug it and found out how to reproduce it.

 

Reproduction Steps

Step 1

Create a Baseplate.

So just click on “Baseplate”

Step 2
Now, save the Baseplate as file

image

And save it as “I have spaces in the filename” so that at the end it becomes “I have spaces in the filename.rbxl”

So that at the end it looks like this

Step 3

Close the file. You can just hit CTRL + F4 or go to “Close Place”, doesn’t matter.

Step 4

Create a new Baseplate. Same as Step 1, create a Baseplate from the template.

So that you have this again

Step 5
Open “I have spaces in the filename.rbxl” through the Roblox window.

What this “Roblox window” means is, that it has to be opened either through “Open from File…”
image
or by picking it through “Recent Games”.

This is very important, do not open it in another way or you can’t reproduce the issue.

Step 6
You get this

Explanation

While I’ve been trying to debug this, I stopped getting this issue once I renamed one of my copied files to something without spaces. This brought me to the idea, to see what happens if I put it back to anything with a space. And then I was able to reproduce this issue.

However, if I open the example file “I have spaces in the filename.rbxl” through the Windows Explorer, this issue does not happen. It only happens if I open it through Roblox Studio.

Debugging this further.

I noticed that within where the file is, that a .lock file gets created. I think it maybe fails to create that file or something, that this issue occurs.

I tried creating an empty .lock file that just has the same name as the file, when opened through Windows Explorer. Then closed that file and opened it again, and the only thing it did was giving me the warning notification, but it let me use the file without it closing.

But if I open it through Roblox Studio it still doesn’t let me.

5 Likes

Thanks for the report! We’ll follow up when we have an update for you.

2 Likes

Btw, it’s anywhere in the entire filepath. If a space appears in the place name OR the entire filepath, it crashes the new studio instance.

3 Likes

I would like to say AMAZING job writing up reproduction steps… unfortunately we were unable to reproduce this in the latest versions of Studio for Mac or Windows. It’s possible enough time has passed where it was fixed as a part of a larger effort.

1 Like

I can’t reproduce it either.

I can confirm that it was fixed! Thanks!

1 Like

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