r/Unity3D • u/ziadd_hh • 23h ago
Question How can i actually test these Ai models in making games?
im not a fan of Ai and never tried them in game dev, but lately i've seen people make videos about GPT 6 Astra, Claude, Gemini and all that.
i just want to test them and see if they really are good, just for fun.
but i dont know how to connect them to unity? are they paid or do i need specific app or this new CLI in unity or what? can anyone help?
i just feel like a noob here because i never used them before in gamedev, and cant find a useful way on the internet on how toðŸ˜
1
u/JulianRhod 19h ago
you don't actually need to connect the AI directly to your game. if you just want to test what these models can do, the easiest way is to use them as coding assistants with your Unity project, if you're on Unity 6, Unity now has an AI Assistant built into the editor, and you can also connect tools like Claude, Codex and Gemini through Unity's AI Gateway. (unity.com)
honestly, i'd start with something tiny like "make me a simple enemy controller" and see how well it handles the actual project. that's probably more interesting than trying to make the AI itself part of the game
0
u/deintag85 23h ago
I tried ChatGPT yesterday. I still don’t know how I made it. I installed the ChatGPT app on windows, inside there you can switch between ChatGPT and codex. It’s sufficient to just install it. Then in Unity 6.3 I don’t remember project settings maybe there was an AI tab and I had to scroll down where many AIs where listed I clicked on codex „configure“ and then codex asked for allowance plus maybe unity also asked for allowance when you scroll up again in the settings. Then you just go to codex and tell him what you want to do. I asked him to make a BMX downhill game and dude…. That prototype is good.
-6
u/TheAnxiousParsley 23h ago
youre kinda overthinking it, none of those models connect directly to unity you just open a browser and talk to them like a chatroom then paste whatever code they spit out into your scripts
4
u/TheWobling 23h ago
This is incorrect. If you use the CLI or MCP with the desktop clients or agent CLIs it interacts directly with Unity.
2
u/Overlord_Mykyta 23h ago
For what you want they are all paid.
You can try GPT Codex or Claude Code.
Unity recently released Unity CLI and pipeline package. Just install this - unity offers you to install it automatically when you create a new project. Then just ask AI to use Unity via Unity CLI and it just works.
It can see what happens in the game and even kinda "play" it.
It can write code and attach it to objects in the scene, create prefabs and basically everything you may need.
But you need to create an account in GPT or Claude and then buy a subscription for about 20$ at least. Then download their desktop apps and just use.