# Why the minimap build in world partition took up to nearly infinity minutes？

**URL:** <https://forums.unrealengine.com/t/why-the-minimap-build-in-world-partition-took-up-to-nearly-infinity-minutes/668727>\
**Category:** World Creation\
**Tags:** World-Creation, unreal-engine, UE5-0, question\
**Created:** [October 13, 2022, 11:47am UTC](https://forums.unrealengine.com/t/why-the-minimap-build-in-world-partition-took-up-to-nearly-infinity-minutes/668727 "2022-10-13T11:47:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![zz2108828](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zz2108828/32/468260_2.png) [@zz2108828](https://forums.unrealengine.com/u/zz2108828)\
**Post date:** [October 13, 2022, 11:47am UTC](https://forums.unrealengine.com/t/why-the-minimap-build-in-world-partition-took-up-to-nearly-infinity-minutes/668727/1 "2022-10-13T11:47:45Z")

</div>

Only one simply landscape in this level and I have enabled virtual texture support.  
Building a minimap in world partition seems to take infinite time.

 ![Screenshoot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/6/6/2665b505e5b2c3f77dfe7be7fd66b8ac67aaa8a3.jpeg)  
 ![OMG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/9/129678861d718ec6d686d6ddd6f7171202b22400.png)

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [October 13, 2022, 5:44pm UTC](https://forums.unrealengine.com/t/why-the-minimap-build-in-world-partition-took-up-to-nearly-infinity-minutes/668727/2 "2022-10-13T17:44:51Z")

</div>

Perhaps there is a recursive function causing it to go into an infinite loop?

---

<div class="post-metadata">

**Author:** ![zz2108828](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zz2108828/32/468260_2.png) [@zz2108828](https://forums.unrealengine.com/u/zz2108828)\
**Post date:** [October 13, 2022, 6:13pm UTC](https://forums.unrealengine.com/t/why-the-minimap-build-in-world-partition-took-up-to-nearly-infinity-minutes/668727/3 "2022-10-13T18:13:25Z")

</div>

I try to use BuilderCommandlet to build it.  
It tells me landscape instance shadermap is missing.And it have been compile for 10 mins.

 ![CMD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/f/4bf9dfe39df9a1d56480218b8fda4c0dde32340b.png)  
I think it may be ODSC problem that doesn’t compiled all the shaders or just the minimap builder problem.  
So I go to set r.ShaderCompiler.JobCacheDDC=0 in WindowsEngine.ini  
Unfortunately,the shaders hell is wait for me.  
 ![Shader](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/e/2/0e209192368388bfeeee42c8a91bdef66f411415.png)  
I will reply later when I finish compiling.

🤣 This is really annoying.

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [October 13, 2022, 7:17pm UTC](https://forums.unrealengine.com/t/why-the-minimap-build-in-world-partition-took-up-to-nearly-infinity-minutes/668727/4 "2022-10-13T19:17:55Z")

</div>

The “mini map” so to speak, is nothing but a screencapture2D shot of each level.  
It keeps the level(s) open and in memory to adjust when you sculpt/change/move levels.

If you open your individual levels you would probably get the same result.

It’s why to work on landscape shaders you are better off using a tiny 1 component landscape to build and test things (less shaders).  
However you then have to wait for compile when you apply it to actual levels.

If you are a serious dev trying to actually work, just build from source. Go to  
Engine/Source/Runtime/Engine/Private/ShaderCompiler  
Poke around in the files to change the memory priority from -1 to 1, which makes it a little faster.  
Then build.

I do not think they ever got around to making the shader compiling part share the load on other machines like for building lights.  
At least when it comes to my/our usage, even with incredibuild licenses there is no difference on compute time for shaders…

---

<div class="post-metadata">

**Author:** ![zz2108828](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zz2108828/32/468260_2.png) [@zz2108828](https://forums.unrealengine.com/u/zz2108828)\
**Post date:** [October 14, 2022, 3:57am UTC](https://forums.unrealengine.com/t/why-the-minimap-build-in-world-partition-took-up-to-nearly-infinity-minutes/668727/5 "2022-10-14T03:57:14Z")

</div>

Thanks a lot.  
I add the follow key to the ini.

```auto
Engine/Config/BaseEngine.ini
[DevOptions.Shaders]
WorkerProcessPriority=-1 // change to 1

```

It work very well and I have successfully built the minimap.

---

<div class="post-metadata">

**Author:** ![neighborlee](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/neighborlee/32/1108786_2.png) [@neighborlee](https://forums.unrealengine.com/u/neighborlee)\
**Post date:** [August 22, 2023, 4:30pm UTC](https://forums.unrealengine.com/t/why-the-minimap-build-in-world-partition-took-up-to-nearly-infinity-minutes/668727/6 "2023-08-22T16:30:05Z")

</div>

What does changing value to ‘1’,do ? How much faster is it really ? I gave up when it clearly seemed it was yes going to take an infinite time to finish lol

thx

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [August 22, 2023, 8:04pm UTC](https://forums.unrealengine.com/t/why-the-minimap-build-in-world-partition-took-up-to-nearly-infinity-minutes/668727/7 "2023-08-22T20:04:22Z")

</div>

It does - near absolutely nothing - it changes the ram priority with which the worker process that builds things is created.  
Its the same as opening task manager and changing priority to that specific exe.

Chanches of that being an issue off a direct build command are next to nhil, however with just how badly the engine is coded of late, you never really know until you try.

And if for whatever reason you absolutely need that worthless minimap that should just always be closed so you can actually work… well, then trying that setting is worth a shot.
