# Shotgun in custom unreal build

**URL:** <https://community.shotgridsoftware.com/t/shotgun-in-custom-unreal-build/10153>\
**Category:** Pipeline Integrations\
**Created:** [September 23, 2020, 12:29am UTC](https://community.shotgridsoftware.com/t/shotgun-in-custom-unreal-build/10153 "2020-09-23T00:29:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dfulton1](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@Dfulton1](https://community.shotgridsoftware.com/u/Dfulton1)\
**Post date:** [September 23, 2020, 12:29am UTC](https://community.shotgridsoftware.com/t/shotgun-in-custom-unreal-build/10153/1 "2020-09-23T00:29:04Z")

</div>

Hello,

I’m a bit lost on the set up for getting unreal to launch from a custom engine build.  
I have unreal running in the basic build 4.25.3 but we are using a custom build and I cant seem to get shotgun to launch in this build. The integration seems setup to be able to bootstrap the shotgun engine via an init\_unreal.py file in the /Game/Content/Python directory I copied the code from the unreal shotgun plugin and made a file in this location but seems to be having an issue importing the bootstrap.py

> LogPython: Error: Traceback (most recent call last):  
> LogPython: Error: File “/Content/Python/init\_unreal.py”, line 23, in   
> LogPython: Error: import bootstrap  
> LogPython: Error: File “C:\Users\AppData\Roaming\Shotgun\bundle\_cache\github\ue4plugins\tk-unreal\v1.0.1\plugins\basic\bootstrap.py”, line 14, in   
> LogPython: Error: plugin\_bootstrap.bootstrap\_plugin(plugin\_root\_dir)  
> LogPython: Error: File “C:\Users\AppData\Roaming\Shotgun\bundle\_cache\github\ue4plugins\tk-unreal\v1.0.1\plugins\basic\python\tk\_unreal\_basic\plugin\_bootstrap.py”, line 48, in bootstrap\_plugin  
> LogPython: Error: manager = \_initialize\_manager(plugin\_root\_path)  
> LogPython: Error: File “C:\Users\AppData\Roaming\Shotgun\bundle\_cache\github\ue4plugins\tk-unreal\v1.0.1\plugins\basic\python\tk\_unreal\_basic\plugin\_bootstrap.py”, line 83, in \_initialize\_manager  
> LogPython: Error: from tank\_vendor import yaml  
> LogPython: Error: ImportError: No module named tank\_vendor

I’m just wondering if there is something that I’m missing in the setup of this or if there is any documentation that I can be pointed to that might help me get unreal going with this custom build.

Thank you,

---

<div class="post-metadata">

**Author:** ![brandon.foster](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/brandon.foster/32/91_2.png) [@brandon.foster](https://community.shotgridsoftware.com/u/brandon.foster)\
**Post date:** [September 23, 2020, 1:31pm UTC](https://community.shotgridsoftware.com/t/shotgun-in-custom-unreal-build/10153/2 "2020-09-23T13:31:58Z")

</div>

Hey David,

It sounds like the custom build is missing some components (like `tank_vendor`). Where to locate and then import that into your custom build is, though, I’m not 100% sure. I’ll check with the Toolkit team and we’ll report back.

---

<div class="post-metadata">

**Author:** ![brandon.foster](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/brandon.foster/32/91_2.png) [@brandon.foster](https://community.shotgridsoftware.com/u/brandon.foster)\
**Post date:** [September 25, 2020, 7:14pm UTC](https://community.shotgridsoftware.com/t/shotgun-in-custom-unreal-build/10153/5 "2020-09-25T19:14:05Z")

</div>

Hi David,

It sounds like you may need to clear your bundle cache to remove potentially corrupted `.pyc` files.

Where is your cache you say? : [https://developer.shotgunsoftware.com/7c9867c0/](https://developer.shotgunsoftware.com/7c9867c0/)

---

<div class="post-metadata">

**Author:** ![Dfulton1](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@Dfulton1](https://community.shotgridsoftware.com/u/Dfulton1)\
**Post date:** [September 30, 2020, 10:48pm UTC](https://community.shotgridsoftware.com/t/shotgun-in-custom-unreal-build/10153/6 "2020-09-30T22:48:04Z")

</div>

Hello,

I did end up getting this working it hasd to do with the location of the Build and the Shotgun plugin being complied in the engine
