Visual studio code doesn't open the save.sav file

Hello,

I’m trying to write in the save.sav file as per lesson “Understanding Unicode” the sentence “¡Hola Mundo!”. I correctly follow the instructions in the video (checked at least 10 times!).

But when I attempt to open the file, as Sam does in the video, within the option “Open file” in Visual Studio Code, the program says “The file can’t be opened in the editor since it’s binary or it uses a text encoding not supported”. “Open it” → it forces me to choose an editor, I choose the Text Editor (the only option I have) in VSC and it opens the file anyways but this is what it looks like:

If the screenshot won’t appear, the code shown in the editor is as follows:

�������������������System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]���aVersionComparerHashSize

KeyValuePairs���System.Collections.Generic.GenericEqualityComparer1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]�System.Collections.Generic.KeyValuePair2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]��� ���a��� �������System.Collections.Generic.GenericEqualityComparer1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]����a�������a����System.Collections.Generic.KeyValuePair2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]�����System.Collections.Generic.KeyValuePair2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]���keyvalue�System.Collections.Generic.Dictionary2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]���$82fd6b96-6755-48d5-b93e-a5e844860d06 ��������������$45664fb3-4516-4ab4-b596-d61707f3201b ��������������$b3e88dd1-89a2-4b62-ae83-1782fb6b5d87 ��������������player ��������������$6e842052-e002-44f1-ad6a-7dd5374992d0 ��������������$cec8d8e8-4671-4033-83dd-2b7ba1a6aca2 ��������������lastSceneBuildIndex������������� ������ ��� ��������� ������ e������������ ������ ������������ ������ ������������ ������ !������������ ������ #���������a�����������System.Collections.Generic.KeyValuePair2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]%���FAssembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null��������&���RPG.Movement.Mover '�����������)���Health�� Bae�����������System.Collections.Generic.KeyValuePair2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]��������+���RPG.Movement.Mover ,�����������.���Health�� Ba�����������System.Collections.Generic.KeyValuePair2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]��������0���RPG.Movement.Mover 1�����������3���Health�� Ba�����������System.Collections.Generic.KeyValuePair2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]��������5���RPG.Movement.Mover 6�����������8���Health���Ba!�����������System.Collections.Generic.KeyValuePair2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]��������:���RPG.Movement.Mover ;�����������=���Health�� Ba#�����������System.Collections.Generic.KeyValuePair2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]��������?���RPG.Movement.Mover @�����������B���Health�� B’���RPG.Saving.SerializableVector3���xyz���%����F��@:u=�@,���’����N���L�bM��1���’���P3���>��\�6���’��������L��Q�;���’���XT�@��I>ĜA�@���’���<U����>�e�

So, definitely not the “¡Hola Mundo!” I was looking for.

How can I force my Visual Studio Code to read the file so that it translates the binary code in it into readable stuff?

Thanks in advance,

Jader

That looks suspicoiusly like a binary from the completed Saving System asset pack from the previous section. We set things up to use either the first Saving System section, or the one we roll here in this section.

Privacy & Terms