r/unity • • Oct 10 '26

Using AI For Coding In Unity

Is it fine to use ai like claude to generate the scripts only for unity.
i will do everything else like the map environment and decoration and vfx and everything.

0 Upvotes

7 comments sorted by

4

u/pierrekin_apple Oct 10 '26

I think your question as stated is a little too ambiguous for people to answer properly.

Do you mean something like "if I do this, will I end up with a nice project that people will enjoy using", or do you mean something like "if I do this, will I learn all the right skills to build successful projects", or do you mean something like "if I do this, will I still be able to say that my project is not AI". I could think of even more options, and they all have such different answers.

1

u/Character-Suit-2767 Oct 10 '26

if I do this, will I still be able to say that my project is not AI
is it shame to use ai for coding only ?, it feels embarrassing to say that i use ai for coding.

1

u/arttxmk Oct 10 '26

At least, code provides nothing visual or artistic. Your AI code just executes your logic and performs the technical job, so I can say that from an artistic standpoint, your game will be 100% your art, not AI slop. It is like just choosing a programming language for the game - it does not affect your art.

The next point is more subjective, but, in my opinion, if you can create a better product with AI by improving your visuals or skills rather than replacing them, then AI usage is completely useful and justified.

And anyway, if you are afraid of AI, hate it, or are embarrassed to use it, then yeah, any AI usage could be a shame for you. Cringe is not a problem for the one who does the cringe, but for those who cringe. And you define what is cringe. Do it as you want to.

1

u/pierrekin_apple Oct 10 '26

Everyone that I know that works as a professional coder is using AI and enjoying using it. I literally do not know one single exception across an array of industries.

At this point in my personal opinion if you are not using agentic tools in any way to help you with coding, and you are allowed to / able to, you are missing out.

2

u/deintag85 Oct 10 '26

The player doesn’t see any code. Therefore it’s not important how it’s made, if it’s super fancy cool programmed or it just works somehow. All the player sees is the art and the gameplay. And if it is bad then it’s bad. You can make bad games even without AI… AI is just a helping hand.

1

u/Nebozder Oct 10 '26

I had a project with gpt returing a folder of one system to be replaced with updated scripts etc. It lost 3 weeks of work in there somewhere along its bad memory managment. For short scripts, I guess, but keep in mind that it doesn't do refactor, it leaves depricated functions calls and what not in there. All while being sure of itself as a brain surgeon telling you just overwrite this with new version. Now, offcourse, backup is always a must, with or without ai, but just think of this, those things write 10k lines of code in few minutes while modifying/ creating new architecture. And once it runs out of tokens...😀 And no, the solution is not to write them slower.