question

rm avatar image
rm asked

Playfab Unity Stuck during importing asset - Batch Mode

When I'm trying to open project in Batch Mode, it's stuck on Loading PlayFabEditorPrefabSo.asset. In log I've found that Unity iss trying to load this asset in infinite loop, spaming with this log

[./Modules/AssetDatabase/Editor/V2/AssetImportManager.cpp line 349] 
(Filename: /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/StackTrace.cs Line: 37)


Start importing Assets/PlayFabEditorExtensions/Editor/Resources/PlayFabEditorPrefsSO.asset using Guid(7f0f895d20658f142a06dc4fb49dce02) Importer(-1,00000000000000000000000000000000)
Done importing asset: 'Assets/PlayFabEditorExtensions/Editor/Resources/PlayFabEditorPrefsSO.asset' (target hash: 'c4a86dea5ab9d7dd14a03b8a91a4b918') in 0.001442 seconds
Import parameters got modified during import
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/StackTrace.cs:37)
PlayFab.PfEditor.PlayFabEditorPrefsSO:get_Instance () (at Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/PlayFabEditorPrefsSO.cs:38)
PlayFab.PfEditor.SubMenuComponent:RegisterMenuItem (string,System.Action) (at Assets/PlayFabEditorExtensions/Editor/Scripts/Components/SubMenuComponent.cs:42)
PlayFab.PfEditor.PlayFabEditorDataMenu:RegisterMenu () (at Assets/PlayFabEditorExtensions/Editor/Scripts/Panels/PlayFabEditorDataMenu.cs:93)
PlayFab.PfEditor.PlayFabEditorDataMenu:.cctor () (at Assets/PlayFabEditorExtensions/Editor/Scripts/Panels/PlayFabEditorDataMenu.cs:74)
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[]) (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorAssemblies.cs:114)

I'm not posting whole log, because its 900MB of this log again and again. Did somebody had such issue and found solution? Killing process and turning it again don't works, and because it's build via GitLab Ci/Cd, it's clearing temponary files every time.

unity3d
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

·
Xiao Zha avatar image
Xiao Zha answered

I open a project in batch mode, but I can’t reproduce your issue. Since this PlayFabEditorExtensions plugin is not necessary because these information(TitleId,DeveloperSecretKey) you set in the plugin can also be set in code, you can delete it and try again.

1 comment
10 |1200

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

rm avatar image rm commented ·

It's pretty radical solution but it's works, thanks!

0 Likes 0 ·

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.