Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when i load a texture from the cloud i get this error #23

Open
englishdz opened this issue Apr 26, 2020 · 4 comments
Open

when i load a texture from the cloud i get this error #23

englishdz opened this issue Apr 26, 2020 · 4 comments

Comments

@englishdz
Copy link

ArgumentException: Requested value '
System.Enum+EnumResult.SetFailure (System.Enum+ParseFailureKind failure, System.String failureMessageID, System.Object failureMessageFormatArgument) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Enum.TryParseEnum (System.Type enumType, System.String value, System.Boolean ignoreCase, System.Enum+EnumResult& parseResult) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Enum.Parse (System.Type enumType, System.String value, System.Boolean ignoreCase) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Enum.Parse (System.Type enumType, System.String value) (at <437ba245d8404784b9fbab9b439ac908>:0)
BayatGames.SaveGamePro.Serialization.Formatters.Binary.BinaryObjectReader.Read (System.Type type) (at Assets/BayatGames/SaveGamePro/Scripts/Serialization/Formatters/Binary/BinaryObjectReader.cs:264)
BayatGames.SaveGamePro.Serialization.Formatters.Binary.BinaryObjectReader.ReadProperty (System.Type type) (at Assets/BayatGames/SaveGamePro/Scripts/Serialization/Formatters/Binary/BinaryObjectReader.cs:710)
BayatGames.SaveGamePro.Serialization.Formatters.Binary.BinaryObjectReader.ReadProperty[T] () (at Assets/BayatGames/SaveGamePro/Scripts/Serialization/Formatters/Binary/BinaryObjectReader.cs:697)
BayatGames.SaveGamePro.Serialization.Types.SaveGameType_Texture.ReadInto (System.Object value, BayatGames.SaveGamePro.Serialization.ISaveGameReader reader) (at Assets/BayatGames/SaveGamePro/Scripts/Serialization/Types/SaveGameType_Texture.cs:81)
BayatGames.SaveGamePro.Serialization.Types.SaveGameType_Texture.Read (BayatGames.SaveGamePro.Serialization.ISaveGameReader reader) (at Assets/BayatGames/SaveGamePro/Scripts/Serialization/Types/SaveGameType_Texture.cs:58)
BayatGames.SaveGamePro.Serialization.Formatters.Binary.BinaryObjectReader.Read (System.Type type) (at Assets/BayatGames/SaveGamePro/Scripts/Serialization/Formatters/Binary/BinaryObjectReader.cs:426)
BayatGames.SaveGamePro.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream input, System.Type type, BayatGames.SaveGamePro.SaveGameSettings settings) (at Assets/BayatGames/SaveGamePro/Scripts/Serialization/Formatters/Binary/BinaryFormatter.cs:182)
BayatGames.SaveGamePro.Networking.SaveGameWeb.Load (System.Type type, System.Object defaultValue, BayatGames.SaveGamePro.SaveGameSettings settings) (at Assets/BayatGames/SaveGamePro/Scripts/Networking/SaveGameWeb.cs:349)
BayatGames.SaveGamePro.Networking.SaveGameCloud.Load (System.Type type) (at Assets/BayatGames/SaveGamePro/Scripts/Networking/SaveGameCloud.cs:208)
BayatGames.SaveGamePro.PlayMaker.Actions.SaveGameWebLoad+d__13.MoveNext () (at Assets/BayatGames/SaveGamePro/PlayMaker/Actions/Web/SaveGameWebLoad.cs:129)
PlayMakerFSM+d__37.MoveNext () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:625)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <480508088aee40cab70818ff164a29d5>:0)

@hasanbayatme
Copy link
Member

Is that just a texture or a texture wrapped inside a class or struct?
Also, how you are exactly saving and loading it? may you post the save / load script?
Thanks

@englishdz
Copy link
Author

I m using playmaker actions

@hasanbayatme
Copy link
Member

Is that a Texture2D you're saving or just a plain Texture?

@englishdz
Copy link
Author

plain texture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants