I have a problem when package for android, some plugin i don’t want to put is included and get a fatal error.
but packaging for iOS is good and no problem.
here’s error message.
[15:01:53] LogTargetPlatformManager:
Display: Building Assets For
Android_ETC2 [15:02:04] Fatal Python
error: Py_Initialize: unable to load
the file system codec
[15:02:04] LookupError: no codec
search functions registered: can’t
find encoding [15:02:04]
[15:02:04] Current thread 0x00001fa4
(most recent call first):
[15:02:05] Took 36.6692915s to run
UE4Editor-Cmd.exe, ExitCode=255
[15:02:05] Cook failed. Deleting
cooked data. [15:02:05] ERROR: Cook
failed. [15:02:05] (see
C:\Users\choigawoon\AppData\Roaming\Unreal
Engine\AutomationTool\Logs\c+Program+Files+Epic+Games+UE_4.18\UAT_Log.txt
for full exception trace)
[15:02:05] AutomationTool exiting with
ExitCode=25 (Error_UnknownCookFailure)
[15:02:05] Process exited with code 25
some plugins for a window platform not others ( Android, iOS ).
so, I setup a whitelistplatforms in my plugins like this, but it seems no work.
UnrealEnginePython.uplugin
{
“FileVersion”: 3,
“Version”: 1,
“VersionName”: “1.2.1”,
“FriendlyName”: “UnrealEnginePython”,
“Description”: “Embed a Python VM in your project”,
“Category”: “Scripting Languages”,
“CreatedBy”: “Roberto De Ioris”,
“CreatedByURL”: “”,
“DocsURL”: “”,
“MarketplaceURL”: “”,
“SupportURL”: “”,
“EnabledByDefault”: true,
“CanContainContent”: true,
“IsBetaVersion”: true,
“Installed”: false,
“Modules”: [
{
“Name”: “UnrealEnginePython”,
“Type”: “Runtime”,
“LoadingPhase”: “PreDefault”,
“WhitelistPlatforms”: [
“Win64”]
},
{
“Name”: “PythonConsole”,
“Type”: “Editor”,
“LoadingPhase”: “PostDefault”,
“WhitelistPlatforms”: [
“Win64”]
},
{
“Name” : “PythonEditor”,
“Type” : “Editor”,
“LoadingPhase”: “PostDefault”,
“WhitelistPlatforms”: [
“Win64”]
}
]
}
Help please