Skip to content

.vs Visual Script file corrupting to RSCC #32511

Open
@sinaiyuc

Description

@sinaiyuc

Bugsquad note: This issue has been confirmed several times already. No need to confirm it further.


Godot version:
3.1.1 and 3.2

OS/device including version:
Windows 10 and Mac OS 10.14.6

Issue description:
Visual Script files are becoming corrupted and the data disappears. This is bad because you lose your entire visual graph and there is no way to get it back. What happens is that when you open up one of the corrupted files a blank .vs file opens at the top of the list and the file itself opens in the code editor and just says "RSCC."

Steps to reproduce:
I am not sure exactly how to get the file to this state, but I have attached a minimal project below where there are 2 .vs files that are 1 version off of each other. I use Dropbox and so I can go back every time the file changes. One of the files doesn't corrupt (the one that has (1) at the end) and the other file will corrupt when you open up the file in GODOT. These files are 1 change apart from each other. So what ever I did to corrupt them I did right between. The next file (which I didn't include) is literally just RSCC with no other data in the file. Those 3 files all happened within minutes of each other.

I haven't been able to figure out exactly what causes the file to corrupt, but maybe someone smarter than me can see the difference between the two files and figure out what happened.

Minimal reproduction project:
InfiniteRunner copy.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions