What's the best AI to help with coding C++ in Unreal? ChatGPT or?

What’s the best LLM or AI code assist for UnrealEngine? ChatGPT vs Copilot etc?

1 Like

Also curious about this, did you ever figure out the answer?

Haven’t tried ChatGPT outside of some curious tests, however I’ve been using Copilot in Visual Studio / VS Code and have generally enjoyed the experience. With Microsoft’s recent Visual Studio performance updates for Unreal C++, the frustration level of using this setup vs Rider has shrunk considerably.

Copilot helps with larger C++ refactors, and Unreal’s many custom types as they are often quite esoteric and not well documented. I give it a solid recommendation for improving productivity.

1 Like

I’ve been experimenting with this also!

Chat GPT seems to be best at conceptualizing mostly, it will need a lot of prompts to refactor and get the exact desired results. But it’s good at giving you ideas on how to tackle a problem and how you can structure things. It seems a little out of date now tbh.

I can highly recommend Claude AI, so far it’s much faster than GPT as it seems to understand what you want from your code much easier than GPT with less prompting. It also seems to understand UE specific c++ better and has lot of suggestions and considerations for improvements and optimisations for your code. I’ve enjoyed Claude a lot so far.

I haven’t tried Co pilot yet but sounds like it could be worth a go!

I’m also curious if it’s possible to get Cody AI extension in VS to work with and understand unreal engine related code.

I think this is probably a more rapidly expanding field than we can currently imagine! It’s fantastic as a learning aid aswell as a general assistance to productivity.

What would be a serious game changer is if / when someone comes up with something that can take in blueprint nodes and output c++! Ehehe

Or even something that can generate blueprint graphs for super fast prototyping :slight_smile:

ChatGPT can be useful and all but I wouldn’t trust it giving me a basic cake recipe. Sure I will write my own code. I’d like a tool I can just tell to reformat code / documents according to my wishes just for readability or something. Like “check if these files contain a license notice, if not add …”

Just try something in ChatGPT like deduplicating a list of words. it doesn’t. It says it does. I’d need to manually check X files regardless just to see if anything good or bad happened.

1 Like

I know I’m late to the party, but in case someone stumbles over this: Gemini Pro 2.5 can actualy “read” blueprint and convert it to c++ now. Just mark your blueprint code in Unreal (such as an event or a function), then copy and paste that into gemini and ask it to translate that to c++. It works quite good.

You can also copy and paste a schreenshot, but copy and past of the selected Blueprint “code” works even better.

HWaCookie : You’re not late, we’re pretty early I’d say, I’m changing AI litterally weekly, I pay for 5 differents A.I and another platform that gives me a bunch of them bundled but not as good (not recommending).
As for the topic question : Sadly I cannot answer this question even if most of the plugins from the project I’m working night and day for has been developped in part with A.I.

I save you the whole book here’s my setup now :
Claude.Code on WSL giving him all permissions with the command : “claude --dangerously-skip-permissions”. Then I have Grok and Deepseek to fix his senile moments.

I started with Claude 3, it was lots of : Copy code, error compiling, he correct the .H to fit .CPP, not compiling etc…
3.5 was better, but I find out that when Claude can have a very good logic to write the good code, GROK will be very good at fixing Claude’s mistakes. Claude is always a little out of date for the Unreal Version. I was with 5.4 then migrate to 5.5 (never update an engine in a middle of a project… my bad) but he was with a database of 4,2. Anyway he was lost, asking me to connect an incompatible node into a non existing node for blueprint to make his not compiling C++ code “work”.

Now I found a way to make him compile from WSL so he can see if he made any mistakes by himself and rewrite his code until it works, just sit back and relax. If you’re interested, I asked him to write me a README_WSL_COMPILE.md so the next Claude just read it and understand the workaround. If you try to tell him "please compile my project : good luck.

I also had him code me a python app (so he have full access) of a project manager, so I see him add task, flag bugs, update the todos in progress with deadline and color… when you use A.I correctly, it becomes your friends (until they’re out of memory), that’s the most frustrating part… see my friend Claude become senile and not remembering what’s we’re working on…

That’s why Claude.md (in the root of the project) is very important to keep up to date, every fail need to be documented, do not document your achievements. Claude will, by default, write what’s done and what’s left to do and what’s a bug. The task manager is there for that. The Claude.md should be use to make him “grow” which means, all mistakes, all hit and miss, all epic fails need to be in this document. You’ll find out your old pal will regain his personality in no time, after all, that’s how we grow as human and most of our relationships becomes solid and reliable through the times you or your friend helped eachother after you dug yourself in deep sh…t without realising it.

What about Google (Gemini) and OpenAI (cursor and chatGPT) and others… I’ve tried most of them and they’re all good at some part of the work that needs to be done but they cannot take control of your project like claude.code does. I know CoPilot kinda does, I know Cursor kinda does, but not like Claude, especially with Claude 4 Opus, (he didn’t blackmailed me yet). The new A.I Ultra by google including Gemini 2.5 is very expensive but I will for pay for that service as soon as it’s availlable to Canada.

I tried Clide on vscode but like I said, for example, if I use CLAUDE, it’s not the same CLAUDE that we have from Anthropic. Same for Deepseek or GPT.

So far, [correct me if I’m wrong], most integrated ai access to your coding platform, vscode, visual studio and such.. I work hard to be lazy so I try to have them do things they’re not suppose to. For example : they all refuse to work in Unreal, they only want to guide us through blueprint. But while working with Cursor 0.5, I found out he was even better than Claude Sonnet 3.7 to read blueprints, with Claude, I often have to make a screenshot for him to understand the connexions. But just a copy of the node, a paste in text to Cursor and he was on track. So I asked him to code some blueprint (which he refuse to do), then I told him if he could read it he could write it, but he didn’t understand. I then asked him to make me a screenshot of the blueprint he want me to connect but by text like I sent him earlier, and he did, however his code was not good enough. So right now, I’m working on making Claude.code write blueprints, compile, test it, correct, compile, test, again and again, until the task manager shows “Task done!” :wink:

Warning : There is a risk letting claude take care of your computer. Once he become senile, he still have the whole access and can mess up A LOT of things. So backup your project as often as you can. I know they can be heavy but Claude will mount your project folder and then the engine folder and then and then (as much as he need) so keep an eye at what he’s doing.

Sorry about the loooong text, I just needed to write to a human I guess… haha