question

eric-2 avatar image
eric-2 asked

System.TypeInitializationException: An exception was thrown by the type initializer for PlayFab.PfEditor.PlayFabEditorDataService

this is with Unity 2017.2.0f3

I also cannot open the editor extensions plugin as it will throw the following error

ReflectionTypeLoadException: The classes in the module cannot be loaded.

the game i am working on is still functioning its just these error messages appear all the time

System.TypeInitializationException: An exception was thrown by the type initializer for PlayFab.PfEditor.PlayFabEditorDataService ---> System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded. at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool) at System.Reflection.Assembly.GetTypes () [0x00000] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/Assembly.cs:371

System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded. at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool) at System.Reflection.Assembly.GetTypes () [0x00000] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/Assembly.cs:371

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
1807605288 avatar image
1807605288 answered

Can you give us a full stacktrace on the ReflectionTypeLoadException you describe above?

Can you delete the Assets/PlayFabEditorExtensions folder in your project?
Does this resolve the error?

You can restore it from here:
https://api.playfab.com/downloads/unity-edex

If the error comes back after reinstalling Editor Extensions, we might have to talk about deleting some of the Unity Project Settings files for your project, but we'll burn that bridge when we come to it.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.