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