# City sample in houdini can't process and export

**URL:** <https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207>\
**Category:** World Creation\
**Tags:** World-Creation, unreal-engine, UE5-0, question\
**Created:** [June 29, 2022, 9:17am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207 "2022-06-29T09:17:34Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![rogers](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rogers](https://forums.unrealengine.com/u/rogers)\
**Post date:** [April 28, 2023, 11:51pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/89 "2023-04-28T23:51:41Z")

</div>

“node:/obj/geo1/processor1/LOTS/foreach\_end43”  
did you manage to sort out this error?..

---

<div class="post-metadata">

**Author:** ![rogers](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rogers](https://forums.unrealengine.com/u/rogers)\
**Post date:** [April 29, 2023, 12:41am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/90 "2023-04-29T00:41:21Z")

</div>

if you find yourself here, ensure you follow “Step 2 - Creating a Directory for Your City” in the city sample documentation.This should solve the error above.It did in my case.

---

<div class="post-metadata">

**Author:** ![Spaceballone81](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Spaceballone81](https://forums.unrealengine.com/u/Spaceballone81)\
**Post date:** [May 1, 2023, 8:57pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/91 "2023-05-01T20:57:24Z")

</div>

So. I am using newest version of Houdini. I have been at this for over a week. I the only thing i did was follow the steps to go into the Processor and put the ( ) in the 3 places that WizzleOfOZ recommends and hit ok through the error. Only setting folder didn’t do it for me. I made sure the Full Houdini folder from “Small City” was in my Working project folder ($HIP) refreshed the Auto Update and Viola.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/9/5/8951d7ed47493c4890db62f0fc7c32fd5080d031.jpeg)

Things i did:  
Followed UE5 Tutorial - Fully  
Made sure Small City was in C:\Users\*UserFolder\*\CitySample\_Houdini\MyCity  
Copied full Houdini file there  
Make sure your project is set to the directory above _File \> Set Project_  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/0/b/d0b7564edcca935bf0b2067c4d9c43023ffd5133.png)  
Added ( ) to the 3 print lines in the city processor as recommended  
hit ok to the error after I applied  
Refreshed the City Processor and my City appeared.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![Spaceballone81](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Spaceballone81](https://forums.unrealengine.com/u/Spaceballone81)\
**Post date:** [May 3, 2023, 5:08pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/92 "2023-05-03T17:08:36Z")

</div>

Update: Confirmed working

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/0/e/20e85f91c408d63901652ae011e08d3a214ddbfe.jpeg)

---

<div class="post-metadata">

**Author:** ![galuodo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@galuodo](https://forums.unrealengine.com/u/galuodo)\
**Post date:** [May 4, 2023, 11:52am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/93 "2023-05-04T11:52:11Z")

</div>

Looks great! how did you make roof works?

---

<div class="post-metadata">

**Author:** ![Emcifuntik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Emcifuntik](https://forums.unrealengine.com/u/Emcifuntik)\
**Post date:** [May 8, 2023, 7:28am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/94 "2023-05-08T07:28:30Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/5/ee501ae12334d44c5de692bccef16a45bbae9f9c.jpeg)  
Yep. I fixed it by connecting this one PCLOUD  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/9/4/894e9e09024829036cd5ef9ab6ccbb9cb0860f55.png)  
to final building PBC process  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/a/4/0a42efa5f949ab7d74a295fc287eedb4d12c4f36.png)

---

<div class="post-metadata">

**Author:** ![galuodo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@galuodo](https://forums.unrealengine.com/u/galuodo)\
**Post date:** [May 8, 2023, 7:38am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/95 "2023-05-08T07:38:29Z")

</div>

cool

---

<div class="post-metadata">

**Author:** ![Spaceballone81](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Spaceballone81](https://forums.unrealengine.com/u/Spaceballone81)\
**Post date:** [May 8, 2023, 6:50pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/97 "2023-05-08T18:50:56Z")

</div>

I didn’t have to do any of that. It just worked. Just did a large city with multiple zones to check.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/f/a/ffa73ec374f049f9f228400ffe214f012494c78f.jpeg)

---

<div class="post-metadata">

**Author:** ![galuodo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@galuodo](https://forums.unrealengine.com/u/galuodo)\
**Post date:** [May 9, 2023, 1:04am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/98 "2023-05-09T01:04:32Z")

</div>

it works, thanks

---

<div class="post-metadata">

**Author:** ![galuodo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@galuodo](https://forums.unrealengine.com/u/galuodo)\
**Post date:** [May 9, 2023, 1:06am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/99 "2023-05-09T01:06:07Z")

</div>

I also tried large scale city, but it crash many times. looks 64gb memory is not enough for city larger then 2k \* 2k

---

<div class="post-metadata">

**Author:** ![Silentser503](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Silentser503](https://forums.unrealengine.com/u/Silentser503)\
**Post date:** [May 10, 2023, 8:27am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/100 "2023-05-10T08:27:36Z")

</div>

So, after you create the city in UNE, all roofs are there (I never managed to get arbitrary roofs to work), collisions for all the buildings and the freeway are set correctly without any modifications to the Houdini’s graph?

Which Unreal Engine and which Houdini version did you use?

---

<div class="post-metadata">

**Author:** ![Emcifuntik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Emcifuntik](https://forums.unrealengine.com/u/Emcifuntik)\
**Post date:** [May 10, 2023, 10:24am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/101 "2023-05-10T10:24:22Z")

</div>

He just showed you screen from Houdini. There is problem with PBC export and I already wrote how to fix it.

---

<div class="post-metadata">

**Author:** ![Silentser503](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Silentser503](https://forums.unrealengine.com/u/Silentser503)\
**Post date:** [May 10, 2023, 12:04pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/102 "2023-05-10T12:04:12Z")

</div>

Do you mean connecting `ARBITRARY_ROOF_PCLOUD` to the final building process?

If yes, then @Spaceballone81 wrote that he didn’t have to do any of that.

If not, what exactly do you mean under “problem with PBC export”?

One more thing: did you also had to place `freeway_export.py` to folder for python 3 and edit it to get Freeway GEOs and PBCs?

---

<div class="post-metadata">

**Author:** ![Spaceballone81](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Spaceballone81](https://forums.unrealengine.com/u/Spaceballone81)\
**Post date:** [May 10, 2023, 6:59pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/103 "2023-05-10T18:59:50Z")

</div>

Hello. Correct I did not have to make any PCLOUD changes, and I checked and my roofs were good. Are you saying your roofs do not import right? I checked close up and all my roofs worked as they showed in the tut.

No. I did not have to add the freeway\_export.py. I ran the freeway rule as defined in the second part of the tut. My freeways created as they should have.

I would check a couple things. Make sure you do not have a super complicated city layout. Try not to have your freeway run through buildings.

I went with a simple setup to test (under 1KM) and it was a bear to finalize even with my rig. UE built all buildings and freeways properly and added cutoffs for my freeway where it intersected with a normal road (made blockades). Going to check on my large city export tonight.

I am using current ver of Houdini and UE 5.1.1

---

<div class="post-metadata">

**Author:** ![galuodo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@galuodo](https://forums.unrealengine.com/u/galuodo)\
**Post date:** [May 11, 2023, 6:54am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/104 "2023-05-11T06:54:24Z")

</div>

you also need change parameter attrib, add “type” so that rule processor can generate the mesh

---

<div class="post-metadata">

**Author:** ![Silentser503](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Silentser503](https://forums.unrealengine.com/u/Silentser503)\
**Post date:** [May 11, 2023, 9:52am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/105 "2023-05-11T09:52:19Z")

</div>

Thanks for the response, appreciate it.

Really surprised that it had worked for you without any changes except for updating `print` in the processor node.

I have never managed to export PBCs without placing `freeway_export.py` into a location where python 3 could find it and updating its `print` statements with parentheses and finally fixing imports inside Freeway node to make them compatible with Python 3 (which kind of makes sense, since the original Houdini project was created for Python 2 and we are using Houdini built for Python 3).

Regarding the roofs - like for many others here, roofs for buildings that are not of a simple rectangular shape (aka arbitrary roofs) are not placed on top of the buildings (the meshes are there, but it seems that the corresponding point cloud is missing).

By the way, I have noticed yesterday, that roads are missing a bunch of lane lines, parking marks, manholes etc. (small decals). I also see that it happened to your city on your screenshots - only some lane markings are present on the roads.

---

<div class="post-metadata">

**Author:** ![Silentser503](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Silentser503](https://forums.unrealengine.com/u/Silentser503)\
**Post date:** [May 11, 2023, 10:43am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/106 "2023-05-11T10:43:57Z")

</div>

![Screenshot 2023-05-11 123730](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/c/4bcc88a81feebe3322db629022146a78d1104a36.png)  
 ![Screenshot 2023-05-11 122346](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/5/5f56545cd7769b2dc5fe78c3c8df86d8c40fcc07.png)

Should I just add Object Merge and Attribute Wrangle nodes, set Object1 field of Object Merge to `../ROOF_ARBITRARY_PC` and by Attribute Wrangler add type (set to what?), correct?

---

<div class="post-metadata">

**Author:** ![galuodo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@galuodo](https://forums.unrealengine.com/u/galuodo)\
**Post date:** [May 11, 2023, 1:50pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/107 "2023-05-11T13:50:21Z")

</div>

copy the node TYPE 14

---

<div class="post-metadata">

**Author:** ![Spaceballone81](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Spaceballone81](https://forums.unrealengine.com/u/Spaceballone81)\
**Post date:** [May 12, 2023, 2:37pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/108 "2023-05-12T14:37:44Z")

</div>

Sorry maybe follow tips above but i haven’t seen any roof errors during my project.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/5/c/75c5f36e37d1a9cfea4fb0ffee568b0a2596f49e.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/0/8/7082f0ba83b522ac0bac6ea4dbc9fa4bbf2f0822.jpeg)

---

<div class="post-metadata">

**Author:** ![Spaceballone81](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Spaceballone81](https://forums.unrealengine.com/u/Spaceballone81)\
**Post date:** [May 12, 2023, 2:47pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/109 "2023-05-12T14:47:04Z")

</div>

Yeah i thought that was just the procedural to make some fade and not make it perfect. As with some areas i can see that they are faded to show low maintenance, not sure. Yes it is weird. I haven’t done anything special and it is weird. I have done that tut ALOT. When i did export i did not use PDG as it caused errors.

I also did the tut from Houdini and realized that the CitySample should have utilized a TOP node so that you could process the city a lot faster but the way Unreal is not using that make rendering and exporting take so long as it only used 25% of the cores at max.

[Previous page](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207.md?page=4)

[Next page](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207.md?page=6)
