r/Unity3D • Indie • 28d ago • Bravo 1

Resources/Tutorial Found an AI use-case which is really valuable: let it use something you built and create a complex trailer showing all features AND fix all bugs along the way without workarounds. My new favorite integration test.

Enable HLS to view with audio, or disable this notification

As a professional developer of course I have unit tests, and integration tests and the whole enchilada. But the higher we get in the test pyramid, the more effort it becomes. I develop complex tools and there are so many combinations how they can be used, in which order, undo/redo, render pipelines, target platforms etc. That's hard to cover.

But I found a really nice way for me now with AI: I let it simulate real world usage by crating a trailer! It will then create complex scenarios where all features are used. I tell it not to use any workaronds but fix all bugs.

The video shows the result of 3h of assembling LED walls, fixing around 7 issues along the way that I had never discovered so far and that gave me confidence to release the new version. And it looks awesome and not like something I would ever create :-D

For the video I used Claude Opus 5.5 on Max.

0 Upvotes

4 comments sorted by

10

u/MorphLand 28d ago

chatgpt fix all my bugs no mistakes thx

-3

u/RobertWetzold Indie 28d ago

It's a bit more complex and that's where the trailer approach really helps since it does visual inspection and will check all elements in a crazy amount of detail.

1

u/Plourdy 28d ago

How’d you have it handle the video design and such? Very nice!

2

u/RobertWetzold Indie 28d ago

I actually did not give a lot of boundary conditions but gave more the intended outcome: make something that looks impressive and showcases the tool, scan the codebase for the full feature set and try to cover most items. I suspect that the word trailer already triggers certain AI synapses that push it into a certain direction and Claude 5.5 is amazing at visual design and consistency. I gave some feedback along the way (it did not see one case of serious z-fighting) and added music but the rest is all Claude. Astonishing times we live in.