How do I increase the texture pool?

So when I run my game and map in the editor the texture pool seems to be 4gb and all the textures stream nicely as they should while I’m running around. When I launch from a batch file though I can see in the log that it’s setting the texture pool to 1000mb and breaking that limit occasionally so during gameplay a lot of the textures on the assets just randomly go blurry or pop in and out.

I know you can increase the texture pool but I’m not sure how. Does anybody know?

Thanks!

Engine\Config\Windows\WindowsEngine.ini has a PoolSizeVRAMPercentage=70 setting under [TextureStreaming] heading. Perhaps you could play with that key/value somewhere in your .ini files and see if you get better results.

0 means unlimited streaming.

Thanks! Do you know where I could add that to the projects ini files so that I don’t need to change it in the engine? It would also help because then everyone else on the team would have the same setting automatically.

Perhaps inside Engine.ini (or Game.ini) in your project’s Saved/Config/[platform] folder.

As a matter of convention I’m not 100% sure, as most of the .inis end up loaded, but there’s probably a “proper” place for it. :slight_smile:

At the console:

r.Streaming.PoolSize=1500

Will change the Pool Size to 1500MB

Make the change permanent by editing your DefaultEngine.ini to include:

[/Script/Engine.RendererSettings]
 r.Streaming.PoolSize=1500
1 Like

Where is the DefaultEngine.ini located?

C:\Users\UserName\Documents\Unreal Projects\Project name\Config\DefaulEngine

You can Add a node that executes the console command on the construction script of one of your blueprints