about Error "Could not extract GUID in text file"

Discussion and help for Easy Save 3
smm
Posts: 2
Joined: Tue Mar 05, 2019 2:20 pm

about Error "Could not extract GUID in text file"

Post by smm »

Hi I Use Easy Save with Unity2017,unity2018.

I met this error.

Could not extract GUID in text file Assets/Scenes/River.unity at line 6231.
Could not extract GUID in text file Assets/Scenes/River.unity at line 6238.
Could not extract GUID in text file error Assets/Scenes/River.unity at line 6278.
..

so I confirmed this part,
- {fileID: 4, guid: 00000000000000000000000000000000, type: 0}
- {fileID: 7, guid: 00000000000000000000000000000000, type: 0}
- {fileID: 6, guid: 00000000000000000000000000000000, type: 0}


and It was found to be caused by ES3ReferenceMgr.cs

I am in trouble because I can not build.
Do you have any information?
User avatar
Joel
Moodkie Staff
Posts: 4963
Joined: Wed Nov 07, 2012 10:32 pm

Re: about Error "Could not extract GUID in text file"

Post by Joel »

Hi there,

Unfortunately GUIDs are handled entirely at Unity's end, so you would need to report this to them.

It looks like the meta data might have become corrupt for the file, so you might want to try updating Easy Save from the Asset Store. Or if this doesn't work, try deleting ES3ReferenceMgr.cs (so that meta data is removed), and then update from the Asset Store.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
smm
Posts: 2
Joined: Tue Mar 05, 2019 2:20 pm

Re: about Error "Could not extract GUID in text file"

Post by smm »

I will trying it.

Thank you so much. :D
firetacos
Posts: 2
Joined: Tue May 28, 2024 9:59 pm

Re: about Error "Could not extract GUID in text file"

Post by firetacos »

Hi,

I use ES3 for like 6 month no problem but yesterday i got this new error who make me crazy. I'm scared of later impact.

i tried what u said :
Or if this doesn't work, try deleting ES3ReferenceMgr.cs (so that meta data is removed), and then update from the Asset Store.
but sadly no effect, i got again and again error :

Code: Select all

Could not extract GUID in text file Assets/Scenes/Menu.unity at line 196717.
Broken text PPtr. GUID 00000000000000000000000000000000 fileID 2 is invalid!
=> I open my menu.unity and go up to the parent of this GUID :

Code: Select all

[size=85]GameObject:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  serializedVersion: 6
  m_Component:
  - component: {fileID: 31093338}
  - component: {fileID: 31093337}
  - component: {fileID: 31093336}
  m_Layer: 0
  m_Name: Easy Save 3 Manager[/size]

Code: Select all

Could not extract GUID in text file Assets/Easy Save 3/Resources/ES3/ES3GlobalReferences.asset at line 17.
UnityEngine.Resources:Load<ES3Internal.ES3GlobalReferences> (string)
Broken text PPtr. GUID 00000000000000000000000000000000 fileID 2 is invalid!
UnityEngine.Resources:Load<ES3Internal.ES3GlobalReferences> (string)
I tried to delete de folder EasySave3 too and reimport.
Tried "refresh references in all scenes".
Tried to delete the line 196717 but go error with EasySave :

Code: Select all

Exception: Key count is different to value count after deserialising dictionary.
ES3Internal.ES3SerializableDictionary`2[TKey,TVal].OnAfterDeserialize () (at Assets/Easy Save 3/Scripts/ES3SerializableDictionary.cs:44).
I see i have Auto save checked (dont use so uncheck but no effect too).

I'm going to report on unity forum but all way go to EasySave so they will tell me to check with you :/
User avatar
Joel
Moodkie Staff
Posts: 4963
Joined: Wed Nov 07, 2012 10:32 pm

Re: about Error "Could not extract GUID in text file"

Post by Joel »

Hi there,

As mentioned above, this error is caused by Unity by ourselves and can happen with any asset in your Asset folder, not just Easy Save's assets.

In your case it seems to be affecting ES3GlobalReferences.asset in Assets/Easy Save 3/Resources/ES3/, so I recommend making a copy of your project and then going to Assets/Easy Save 3/Resources/ES3/ES3GlobalReferences, right-clicking it and selecting ES3GlobalReferences. Then in this folder, try deleting ES3GlobalReferences.asset.meta. If this doesn't resolve the issue, try deleting both ES3GlobalReferences.asset and ES3GlobalReferences.asset.meta and see if that resolves the issue.

If that doesn't resolve the issue you would need to contact Unity for information on why their metadata is being corrupted. I believe Unity has provided a bug fix for this in newer versions of Unity, but this won't resolve the issue if the metadata is already corrupt as in your case.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
firetacos
Posts: 2
Joined: Tue May 28, 2024 9:59 pm

Re: about Error "Could not extract GUID in text file"

Post by firetacos »

Thanks for your quick response, I had also tried removing the .meta but without success.

I finally found a solution which doesn't seem ideal to me but which works for the moment.

Change:

Code: Select all

{fileID: 2, guid: 000000000000000000000000000000000, type: 0}
To

Code: Select all

{fileID: 0}
No more error, try to build no error, close and open unity no error, hope this will fix (look like strange because one reference is broken but look like hidden under the carpet).

Link to my post on unity forums if someday i get response : https://forum.unity.com/threads/could-n ... st-9860196
User avatar
Joel
Moodkie Staff
Posts: 4963
Joined: Wed Nov 07, 2012 10:32 pm

Re: about Error "Could not extract GUID in text file"

Post by Joel »

Glad you managed to find a solution to the issue.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
futurist3
Posts: 1
Joined: Mon Jul 29, 2024 11:39 pm

Re: about Error "Could not extract GUID in text file"

Post by futurist3 »

Hello,
I was able to fix it in the following steps.
Delete all sprite atlas,
Update and import ES3 (may not be necessary),
ES3 -> Clear PersistentDataPaths and PlayerPrefs,
Run the game,
Restart Unity.

Let me know if it helps! I was able to get it to work on a copy as well as the main one.
User avatar
Joel
Moodkie Staff
Posts: 4963
Joined: Wed Nov 07, 2012 10:32 pm

Re: about Error "Could not extract GUID in text file"

Post by Joel »

Thanks for the info, really appreciate it.

Please could you send me the Sprite Atlases which are causing the issue (either here or send me a link using the contact form at moodkie.com/contact)? I don't appear to be able to replicate this with the Sprite Atlases I've created.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
frikic
Posts: 12
Joined: Thu Nov 06, 2014 9:36 am

Re: about Error "Could not extract GUID in text file"

Post by frikic »

Ok not sure if I should open my own thread, or can use this one, since I have similar issue. I Get the errors in following order, total 66 errors 22 from each type. Using Unity 2021.3.39f1 and latest Easy Save. I can build game and all seems to work fine, so not sure whats effected with the error..

Type1:

Code: Select all

Could not extract GUID in text file Assets/Plugins/Easy Save 3/Resources/ES3/ES3GlobalReferences.asset at line 19.
UnityEngine.Resources:Load<ES3Internal.ES3GlobalReferences> (string)
ES3Internal.ES3GlobalReferences:get_Instance () (at Assets/Plugins/Easy Save 3/Scripts/Referencing/ES3GlobalReferences.cs:40)
ES3Internal.ES3ReferenceMgrBase:get_GlobalReferences () (at Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgrBase.cs:140)
ES3Internal.ES3ReferenceMgrBase:RemoveNullOrInvalidValues () (at Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgrBase.cs:408)
ES3ReferenceMgr:RefreshDependencies (bool) (at Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgr.cs:34)
ES3Postprocessor:RefreshScene (UnityEngine.SceneManagement.Scene,bool) (at Assets/Plugins/Easy Save 3/Editor/ES3Postprocessor.cs:84)
ES3Postprocessor:RefreshReferences (bool) (at Assets/Plugins/Easy Save 3/Editor/ES3Postprocessor.cs:74)
ES3Postprocessor:OnWillSaveAssets (string[]) (at Assets/Plugins/Easy Save 3/Editor/ES3Postprocessor.cs:178)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler ()
Type2:

Code: Select all

Broken text PPtr. GUID 00000000000000000000000000000000 fileID 5 is invalid!
UnityEngine.Resources:Load<ES3Internal.ES3GlobalReferences> (string)
ES3Internal.ES3GlobalReferences:get_Instance () (at Assets/Plugins/Easy Save 3/Scripts/Referencing/ES3GlobalReferences.cs:40)
ES3Internal.ES3ReferenceMgrBase:get_GlobalReferences () (at Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgrBase.cs:140)
ES3Internal.ES3ReferenceMgrBase:RemoveNullOrInvalidValues () (at Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgrBase.cs:408)
ES3ReferenceMgr:RefreshDependencies (bool) (at Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgr.cs:34)
ES3Postprocessor:RefreshScene (UnityEngine.SceneManagement.Scene,bool) (at Assets/Plugins/Easy Save 3/Editor/ES3Postprocessor.cs:84)
ES3Postprocessor:RefreshReferences (bool) (at Assets/Plugins/Easy Save 3/Editor/ES3Postprocessor.cs:74)
ES3Postprocessor:OnWillSaveAssets (string[]) (at Assets/Plugins/Easy Save 3/Editor/ES3Postprocessor.cs:178)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler ()
Type3:

Code: Select all

Could not extract GUID in text file Assets/Scenes/WholeWorld.unity at line 23216.
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler ()
Post Reply