KellanM/OpenAI-Api-Unreal

packaging for andriod causes errors packiging fails. please try to fix soon as we need our app working for our school project

Diamondkneeplate opened this issue · 1 comments

UATHelper: Packaging (Android (ASTC)): C:/Users/julia/Documents/Unreal Projects/wellbeing_app/Plugins/OpenAI-Api-Unreal/Source/OpenAIAPI/Private/OpenAICallGPT.cpp(117,3): error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
UATHelper: Packaging (Android (ASTC)): _payloadObject->SetNumberField(TEXT("presence_penalty"), FMath::Clamp(settings.presencePenalty, 0.0f, 1.0f));
UATHelper: Packaging (Android (ASTC)): ^
UATHelper: Packaging (Android (ASTC)): C:/Users/julia/Documents/Unreal Projects/wellbeing_app/Plugins/OpenAI-Api-Unreal/Source/OpenAIAPI/Private/OpenAICallGPT.cpp(115,2): note: previous statement is here
UATHelper: Packaging (Android (ASTC)): if (!(settings.logprobs == 0))
UATHelper: Packaging (Android (ASTC)): ^
UATHelper: Packaging (Android (ASTC)): 1 error generated.
UATHelper: Packaging (Android (ASTC)): Took 9.8692925s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool failed. See log for more details. (C:\Users\julia\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\UBT-wellbeing_app-Android-Development.txt)
PackagingResults: Error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
UATHelper: Packaging (Android (ASTC)): AutomationTool executed for 0h 0m 13s
UATHelper: Packaging (Android (ASTC)): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Android (ASTC)): BUILD FAILED
PackagingResults: Error: Unknown Error

same siuation