Sergio Gardeazabal (@sergiogamedev) header
Sergio Gardeazabal (@sergiogamedev) profile picture

(He/Him) Senior Software Engineer @ Bezi - Prev : Epic Games - Nimble Giant Entertainment, Compulsion Games (Xbox Studios) - Opinions are my own

Vancouver, BC
Joined August 2010
Photo by Sergio Gardeazabal (@sergiogamedev)Photo by Sergio Gardeazabal (@sergiogamedev)Photo by Sergio Gardeazabal (@sergiogamedev)Photo by Sergio Gardeazabal (@sergiogamedev)Photo by Sergio Gardeazabal (@sergiogamedev)Photo by Sergio Gardeazabal (@sergiogamedev)Photo by Sergio Gardeazabal (@sergiogamedev)Photo by Sergio Gardeazabal (@sergiogamedev)Photo by Sergio Gardeazabal (@sergiogamedev)Photo by Sergio Gardeazabal (@sergiogamedev)
The standalone video of my Unreal Fest presentation is out! 🎉 Here I showcase the Chaos Visual Debugger by showing how it works and how you can use it to debug #Chaos #Physics in #UnrealEngine and. 1/2
4
8
3,948
Sergio Gardeazabal retweeted
There’s a reason software engineers who are entrepreneurs or are entrepreneurial are the most positive / excited about AI. Yes it is rocking + transforming the software engineering profession. And yes many will thrive in this new world, and some stay behind, as all tech shifts
I don't normally agree with random Redditors, but damn. Well said.
188
166
32
2,295
107,951
Hot take: I think game studios that transitioned from in-house game engines to solutions like Unreal might want to revisit that decision and leverage AI to revamp their own engines instead (for new projects at least). Last weekend, I gathered all the design ideas, prototypes, and experience I've accumulated over a decade of working on game engine tech and decided to try resurrecting Savage Engine (a game engine I started developing around 7 years ago), this time using AI. With all that in hand, I spent 2 days writing spec documents for each system and building a system to enforce them, while also assuming they would inevitably change as work goes on. Then I handed it over to #ClaudeCode and #Codex ($200 and $500 subscriptions, respectively). For Codex I used Astra 6.2, for Claude, a mix of Opus 5.5 and Fable 5.2. During the week, I only spent time after work reviewing and re-steering things. And this is the result after 1 week (not counting what old prototypes, design, etc contributed which is not zero). This is Savage Engine, a very snappy C++ game engine running a small game demo inspired in Zaxxon, with a 100% custom Metal rendering backend with ray tracing and virtualized geometry, platform abstractions for iOS and macOS (yes, it can already build and deploy to an iPhone), a fully data-oriented architecture (it doesn't use the traditional object-oriented approach, nor a classic generic ECS), almost no heap allocations mid-frame, a fully custom physics engine, UI framework, etc. It's also designed to be AI-first. The entire engine and editor APIs are designed to be used by LLM agents (granular APIs, good error messages, graceful error handling, full hot-reload support, etc.), but with an traditional editor so developers can still easily author and modify what the LLM did. Was it a one-shot prompt? I wish. Is it production-ready? Not even close. If you look at the GPU timing values in the UI, you'll see it's comically slow when I move something, the UI has some alignment issues, and bugs that are not visible in the video, etc. But this was done in only 1 week, with just 2–3 hours of my attention per day (not counting the weekend). Even if it's not perfect, the matter is that I know how to identify and fix these issues (I've been doing it for over a decade now), or figure out what to do when I don't know. This is why I think that if you're a studio with your own engine team, using AI to multiply what that team can do to achieve the quality you need, and even more importantly, customize your engine for what you actually need, might be the way to go. That said, I still think #Unity and #Unreal have a place for studios whose business models can't accommodate their own game engine teams. As for what's next for Savage Engine, I plan to carefully review what's been implemented and change it as needed, then port (and finally finish) my old simcade air combat game, Airburner, which I made in Unity almost 10 years ago, and share my progress here.
3
1
9
700
Who said that working with C++ in #UnrealEngine, with #AI , has to be slow? Those who know me know I care deeply about dev iteration speed. This is why from the get-go I added Live coding support to our integration of Unreal into @BeziHQ It is not as fast (and a bit more brittle) compared to proper Live++ because UE's implementation has to perform object re-instancing, but it is still way faster than closing/open the editor every time. Here is a small video where I ask Bezi to implement a new pick up object in C++, using an already existing mesh, and create the BP using that new class, all without closing the editor. You can also see the real time in PIE verification feature I shared yesterday in action, as Bezi verified it actually works in game, by playing the game.
1
218
Here is a thing we shipped last week for the integration of Bezi with #UnrealEngine Now Bezi (in addition to write/run unit/functional tests), can also test you game in PIE, in realtime as part of an usual Implement/Review/Test loop with any LLM model. (#opus works best though)
3
314
Did I mention @BeziHQ can create UE Materials? I added support to either use HLSL nodes, standard expression nodes and Material Functions, and that the resulting graphs stay legible (this is an ongoing effort) Here is a video of Bezi with #GPT #ASTRA creating a hologram Material in #UnrealEngine using HLSL code in a code node, and then converting it to material expressions nodes, and lastly making them re-usable material function assets. I found it is faster let the LLM iterate with HLSL, and when you are happy with the result, you can ask Bezi to make it a fully graph editable asset so artist that are more familiar with material graphs can edit them on top as needed. What do you think?
2
85
Hey all, I am happy to be able to share the results of what I have been working on since last May. 5 months ago I joined Bezi to drive and build, from the ground up, the integration of our AI harness, Bezi, with #UnrealEngine . Today we are opening the doors to our Early Access waiting list for users and studios working on anything from UE 5.4 to the latest 5.8 (bezi.com/ue/sergio). With that said, I wanted to take this opportunity to share some details about the technical challenges we had to overcome. To start, a bit of context: Bezi is an AI harness that is already on the market with excellent Unity support. It is a very well optimized harness built around a (constantly expanding) set of handcrafted actions the LLMs can perform in your Unity Editor, and it supports multiple LLM model providers (#GPT, #GLM, Opus/Fable/Sonnet, Gemini). But, although that has worked very well for Unity so far, for Unreal I saw it as a limitation. So early on I knew that for our integration with Unreal I wanted to give the harness full access to the entire Unreal Editor API. This of course presents a multitude of problems. The most pressing one, which Bezi didn't support at the time, is that you need progressive disclosure (meaning that instead of giving the LLM model all the available APIs in its context, you give it the tools to find and use what it really needs). So one of the first things I did was to prototype the progressive disclosure system to allow Bezi to discover and use these APIs. (Huge thanks to the team for helping me bring this prototype to production-ready status, it was truly a team effort.) With progressive disclosure working and Bezi being competent at finding the APIs it needed to perform various actions in the editor (from level manipulation to blueprint or material creation), the next challenge was that these APIs were not designed to be LLM friendly. I will not go into details about the specific solutions at this point, but I think we arrived at a good solution to bridge this gap and make them easier to use. Lastly, now with Bezi being able to work well with the existing editor APIs as is, we implemented our battle-tested (with Unity) handcrafted and LLM-optimized action layer approach on top of the exposed Unreal Editor APIs, to make sure common and critical operations work as well as they can (more token efficient, good and actionable error messages, etc.). This means that to this day, although we are going out on Early Access to gather feedback and identify the main areas we should focus on moving forward, Bezi should be able to do pretty much all that you can do in the editor. BUT some things will work better than others, which is exactly why we are going out on Early Access. Continue in thread... (Meanwhile here is a video where I stitched together some small video demos I made internally along the process, so expect different levels of video quality 😅)
3
3
336
Today we support very well: - Blueprint generation and manipulation - Material generation and manipulation - C++ generation (Live Coding or Hot Reload. Bezi can iterate on C++ with the editor open. If the editor crashes because of that, Bezi can diagnose it and recover on its own.) - Level and overall asset manipulation - Profiling tools (CSV profiler and Unreal Insights) - PCG and Niagara Everything else works, with varying degrees of success, through the exposed editor API. What's next? Gather your feedback and prioritize. Personally, I want to polish token efficiency (especially around graph-based assets) and speed overall. Feature-wise we know we have work to do on Animation, GAS, and Game AI (ironically), but these should still work even without our handcrafted support.
53
Here is a neat (non-coding) use case I found for Claude Code. A while ago I was preparing a presentation about a new system I worked on. I like to have fancy flow diagrams, but I dread making them. I found that I can get really good results by giving Claude a reference of style I am going for + the source data, and then ask it to build an HTML page with the graph. Once done, I can just screenshot / paste in Google Slides.
1
73
As a bonus, if something didn't look quite right, I found I can just annotate the screenshot with the changes I wanted to make, and just feed that into Claude Code again as a image prompt. Which is also very handy when doing UI coding tasks btw
1
68
I am pretty sure there is a better way to make this a proper integrated workflow, but that is something for future me to tackle if I find myself doing this more often
26
Whose fault is it Claude? WHOSE FAULT IS IT??
1
1
58
Probably partially me because I am using it 😅. I have to finally upgrade my PC that I build almost 7 years ago, and I used Claude to cross check a build I prepared in Memory Express website.
58
21 hs of travel ahead of me. First leg, I lost one of my AirPods in the first airport, I had to endure a ~5 hs flight without music nor noise cancelling. In the second Airport, I tried to buy an AirPod pro 3 in one of these vending iStore machines (which are marked up) because I don’t want to endure the next 12 hs flight without noise canceling. The machine charges me but never dispensed the AirPods… How is your day going? 🫠
2
2
132
Well, it had to happen at some point. I have just been laid off from #epicgames I really enjoyed my time working there, but it’s time to find my next adventure. If you know of something, just let me know.
33
337
2
1,406
125,332
The Chaos Visual Debugger is now available to all #UEFN users 🎉 Since we shipped the first version of CVD back in #UnrealEngine 5.4, bring it into UEFN was always on my personal wish list, and I glad I was able to work on making it happen.
1
9
2,093
In addition, I share information about how Chaos works under the hood (mainly the Chaos update loop and how CVD represents debug data based on it). You can watch it here 2/2 youtube.com/watch?v=_DKKztvM…
917
Sergio Gardeazabal retweeted
If you're using Unreal Engine and need to understand what's going on in the physics world, the Chaos Visual Debugger is definitely worth getting to know - it has had a lot of love over the last few versions of UE. dev.epicgames.com/community/…
1
16
75
6,058