Any ideas how i can increase the capacity? Cause everytime i made a mistake i need to close and open the engine again, Cause the history can only remember one step. So its impossible to work with it at the moment.
In case anyone else finds this post: I ran into the same problem and have a solution! While I don’t know if it’ll work for everyone, I hope it at least leads people down the right path.
I had this issue with the buffer stuck at two transactions, and Map Check was coming up with a couple of glaring issues. First, I had a lot of BSP at the time, and there were ~350 brushes that needed to be cleaned. So I ran “Clean Geometry Materials” (found in the Details tab of any brush). I also had a mesh with a null reference and deleted it. While I don’t know if both of those together fixed it, or if it was just one of them, but after that my Undo buffer was back to normal. It seems that there was a lot of excess memory usage which prevented a larger Undo buffer.
tl;dr Run a Map Check (under Build), fix as many issues as you can, and that will hopefully fix your Undo buffer.
Okay so after digging through the source code I found out a way to change the transaction buffer size. I’ve confirmed it work with version 5.4.4. I’m leaving the solution here because its the first thread that pops up when searched for.
You need to add an entry in your EditorPerProjectUserSettingsconfig file. You can find the file in YourProject/Saved/Config/WindowsEditor. Once you open the file go to the bottom and add the [Undo] header and below it UndoBufferSize=Size in MB, I’ve added an example below.
[Undo]
UndoBufferSize=1024
Also you can set it using C++ inside your modules StartupModule function using the code below