lucoiso / UEHttpGPT

HttpGPT is an Unreal Engine plugin that facilitates integration with OpenAI's GPT based services (ChatGPT and DALL-E) through asynchronous REST requests, making it easy for developers to communicate with these services.
https://forums.unrealengine.com/t/free-httpgpt-integrate-chatgpt-in-the-engine-via-asynchronous-tasks-rest/765168?u=lucoiso
MIT License
202 stars 50 forks source link

Missing 'PrecompileForTargets = PrecompileTargetsType.Any;' in HoloLens config #70

Closed Obscurity99 closed 1 year ago

Obscurity99 commented 1 year ago

Hello, When I try to package for HL2 I get the following:

ERROR: Missing precompiled manifest for 'HttpGPTChatModule', 'C:\Program Files\Epic Games\UE_5.0\Engine\Plugins\Marketplace\HttpGPT\Intermediate\Build\HoloLens\arm64\UnrealGame\Development\HttpGPTChatModule\HttpGPTChatModule.precompiled'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in HttpGPTChatModule.build.cs to override. If part of a plugin, also check if its 'Type' is correct.

I have tried editing the instructed files and it only resulted in other errors. I can package the same exact project to Windows/ other platforms without issues. My teammates informed me this issue is probably on the plugin side and it seems like a new build target needs to be added. Is there something you can do to fix this? httpgpt error