# How to use the "Export to Disk" node?

**URL:** <https://forums.unrealengine.com/t/how-to-use-the-export-to-disk-node/440654>\
**Category:** Blueprint\
**Tags:** node, png, unreal-engine, delegate, Blueprint, question\
**Created:** [January 5, 2019, 3:32am UTC](https://forums.unrealengine.com/t/how-to-use-the-export-to-disk-node/440654 "2019-01-05T03:32:12Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Planet\_Vano](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Planet\_Vano](https://forums.unrealengine.com/u/Planet_Vano)\
**Post date:** [January 5, 2019, 3:32am UTC](https://forums.unrealengine.com/t/how-to-use-the-export-to-disk-node/440654/1 "2019-01-05T03:32:12Z")

</div>

I am trying to export a texture from the game in game. The only thing I am not sure how to use is the “Options on Complete” delegate connection.

![264228-img3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/7/0/7707659db4c2590c5ce18e250adf53cd51f47755.png)

What does the Options on Complete connection mean and what should I connect it to?

---

<div class="post-metadata">

**Author:** ![Evigmae](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/evigmae/32/1187349_2.png) [@Evigmae](https://forums.unrealengine.com/u/Evigmae)\
**Post date:** [January 5, 2019, 3:20pm UTC](https://forums.unrealengine.com/t/how-to-use-the-export-to-disk-node/440654/2 "2019-01-05T15:20:05Z")

</div>

Drag from it and create a custom node.

![264268-0.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/c/4/6c4f3ca8570283c13d45054e062ab83576706e6f.png)

The red square is a delegate pin, and it will trigger the event when the task created by “Export to Disk” completes. (same thing event dispatchers and timers have)

Most other nodes like this have a “Success” exec pin to the right. But this one has it as a delegate pin on the left. I’d call it an inconsistency.

But it’s actually the same thing.

---

<div class="post-metadata">

**Author:** ![Planet\_Vano](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Planet\_Vano](https://forums.unrealengine.com/u/Planet_Vano)\
**Post date:** [January 6, 2019, 8:50am UTC](https://forums.unrealengine.com/t/how-to-use-the-export-to-disk-node/440654/3 "2019-01-06T08:50:24Z")

</div>

I have already tried to use a custom event, but it still gave me an error when compiling. This led me to believe that it was asking for a specific event with a delegate node. I have found a work-around for what I was trying to accomplish, but I would still like to know how to use this node for future use.

I think there is a very specific set of instructions that I must follow after that connect to that custom event, but I don’t know what that set of instructions is. Any ideas?

Thank you.

---

<div class="post-metadata">

**Author:** ![SupDeity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupDeity](https://forums.unrealengine.com/u/SupDeity)\
**Post date:** [January 6, 2019, 10:05am UTC](https://forums.unrealengine.com/t/how-to-use-the-export-to-disk-node/440654/4 "2019-01-06T10:05:13Z")

</div>

i think you should put the error here.

---

<div class="post-metadata">

**Author:** ![Planet\_Vano](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Planet\_Vano](https://forums.unrealengine.com/u/Planet_Vano)\
**Post date:** [January 6, 2019, 10:44am UTC](https://forums.unrealengine.com/t/how-to-use-the-export-to-disk-node/440654/5 "2019-01-06T10:44:55Z")

</div>

Nevermind, the error has been resolved. For some reason the issue only occurs in the one blueprint I was trying to use it in previously. I opened a new project and used it and it worked perfectly fine. I ended up not using this system anyways so I suppose it worked out in the end.

Thank you for trying to help!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_42c1bbf8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_42c1bbf8](https://forums.unrealengine.com/u/anonymous_user_42c1bbf8)\
**Post date:** [June 25, 2019, 11:38pm UTC](https://forums.unrealengine.com/t/how-to-use-the-export-to-disk-node/440654/6 "2019-06-25T23:38:52Z")

</div>

Sorry to revive an old post, but where is the image saved?

I can get “Export to DIsk” to execute, but I cannot find the save location of the image.

---

<div class="post-metadata">

**Author:** ![SupDeity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupDeity](https://forums.unrealengine.com/u/SupDeity)\
**Post date:** [June 26, 2019, 7:04am UTC](https://forums.unrealengine.com/t/how-to-use-the-export-to-disk-node/440654/7 "2019-06-26T07:04:19Z")

</div>

probably in “Saved” folder.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_42c1bbf8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_42c1bbf8](https://forums.unrealengine.com/u/anonymous_user_42c1bbf8)\
**Post date:** [June 26, 2019, 3:05pm UTC](https://forums.unrealengine.com/t/how-to-use-the-export-to-disk-node/440654/8 "2019-06-26T15:05:13Z")

</div>

That’s where I assumed it would be too. But I have looked there, and searched my entire hard drive, with no success.

The script executes with no errors, and then when I change “Overwrite File” to off, it logs an error that says there is a file already there with that name. This leads me to believe it is in fact being saved SOMEWHERE.

It conveniently leaves out where it is trying to save the file in the log error ☹

[2019.06.26-14.59.06:163][598]LogImageWriteQueue: Error: Failed to write image to ‘img.exr’. Should Overwrite: 0 - If we should have overwritten the file, we failed to delete the file. If we shouldn’t have overwritten the file the file already exists so we can’t replace it.

---

<div class="post-metadata">

**Author:** ![phil.harlow](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil.harlow](https://forums.unrealengine.com/u/phil.harlow)\
**Post date:** [August 12, 2019, 8:59pm UTC](https://forums.unrealengine.com/t/how-to-use-the-export-to-disk-node/440654/9 "2019-08-12T20:59:24Z")

</div>

I just found out it is being saved into the binaries folder in your ue4 installation folder (engine/binaries/win64 for me)

---

<div class="post-metadata">

**Author:** ![Stimpanzee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Stimpanzee](https://forums.unrealengine.com/u/Stimpanzee)\
**Post date:** [August 24, 2019, 12:36am UTC](https://forums.unrealengine.com/t/how-to-use-the-export-to-disk-node/440654/10 "2019-08-24T00:36:47Z")

</div>

If you want to assign a folder location, add the folder path to the file name.

Something like:

W:\UE4\Projects\Example\Render\filename

---

<div class="post-metadata">

**Author:** ![fhaab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fhaab](https://forums.unrealengine.com/u/fhaab)\
**Post date:** [January 11, 2023, 6:24pm UTC](https://forums.unrealengine.com/t/how-to-use-the-export-to-disk-node/440654/11 "2023-01-11T18:24:34Z")

</div>

Realize I’m reviving an old thread; am using 5.0.3, and I get the same error that “Options on Complete” needs a connection, but I’d already tried dragging off and creating a custom event, but the automatically generated event does not work.

 ![export1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/5/1/5513fb97cb402a0df8d19d957f163e0cfb885dc1.png)  
 ![export2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/d/fbdf618fd9938a69a7ba8d65eacd3d7a17ecc49e.png)

---

<div class="post-metadata">

**Author:** ![Ari\_Epic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ari_epic/32/1225266_2.png) [@Ari\_Epic](https://forums.unrealengine.com/u/Ari_Epic)\
**Post date:** [January 12, 2023, 3:03pm UTC](https://forums.unrealengine.com/t/how-to-use-the-export-to-disk-node/440654/12 "2023-01-12T15:03:22Z")

</div>

@fhaab I don’t know why Unreal Engine doesn’t do this by default for you but it expects the OnComplete function to have a bool input for the bSuccess parameter.

You might need to disconnect the red line before UE allows you to customize your Custom Event, but in the end this is what it should look like:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/6/fe679a2ee83ce9b4a4cf54468ab2ce513763575c.png)

---

<div class="post-metadata">

**Author:** ![omixpsycho](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@omixpsycho](https://forums.unrealengine.com/u/omixpsycho)\
**Post date:** [May 4, 2023, 4:58pm UTC](https://forums.unrealengine.com/t/how-to-use-the-export-to-disk-node/440654/14 "2023-05-04T16:58:10Z")

</div>

![error](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/5/1551a8a418355674cd00b09412a3d5d4667228d3.jpeg)  
Hi ,  
Every thing seems ok but it’s not working … custom event result false … there is no file saved anywhere

---

<div class="post-metadata">

**Author:** ![barry.mccall](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@barry.mccall](https://forums.unrealengine.com/u/barry.mccall)\
**Post date:** [May 23, 2023, 5:36pm UTC](https://forums.unrealengine.com/t/how-to-use-the-export-to-disk-node/440654/15 "2023-05-23T17:36:21Z")

</div>

I was also having this same issue. I opened the “Output Log” and triggered my Blueprint. Immediately I had this output being spammed in red “Only EXR export is currently supported for PF\_FloatRGBA and PF\_A32B32G32R32F formats”.

Check your Output Logs and address any issues there also.
