# Set Compression/Texture Settings from Blueprint not working

**URL:** <https://forums.unrealengine.com/t/set-compression-texture-settings-from-blueprint-not-working/426562>\
**Category:** Rendering\
**Tags:** parameters, set, compression, unreal-engine, runtime, question\
**Created:** [June 3, 2018, 1:15pm UTC](https://forums.unrealengine.com/t/set-compression-texture-settings-from-blueprint-not-working/426562 "2018-06-03T13:15:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_3bc02732](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3bc02732](https://forums.unrealengine.com/u/anonymous_user_3bc02732)\
**Post date:** [June 3, 2018, 1:15pm UTC](https://forums.unrealengine.com/t/set-compression-texture-settings-from-blueprint-not-working/426562/1 "2018-06-03T13:15:49Z")

</div>

There are all the nodes, but nothing does anything. Screenshot from simple test project attached. It has a texture variable, which sets the texture parameter of a material istance. If I toogle from default compression to HDR, it sets the drop down menu in the texture to default or HDR, but actually does not compress the texture at all to the new setting. Same with texture brightness and basically all texture parameters. I have all the nodes in blueprints to manipulate the textures, but nothing does anything. Is there some well hidden tick or command that I have to use to get this working and manipulate my textures from blueprints during runtime?

 ![243031-settcompressiontestproject.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/f/e/3feb7f204e6a410f6df8c949209cdd533437593d.png)

---

<div class="post-metadata">

**Author:** ![Cerulean\_Deity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cerulean\_Deity](https://forums.unrealengine.com/u/Cerulean_Deity)\
**Post date:** [October 19, 2021, 3:46am UTC](https://forums.unrealengine.com/t/set-compression-texture-settings-from-blueprint-not-working/426562/2 "2021-10-19T03:46:15Z")

</div>

I’m also having this issue in 4.26 and it’s driving me crazy. Changing textures’ Mip Gen, Compression, sRGB from blueprints show a change in the texture details, but not in the texture itself, nor anything rendering that texture. It doesn’t apply unless I manually apply it. I wish I knew if it is a bug or if I’m also just missing something.

---

<div class="post-metadata">

**Author:** ![Jenus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jenus](https://forums.unrealengine.com/u/Jenus)\
**Post date:** [June 6, 2022, 9:02am UTC](https://forums.unrealengine.com/t/set-compression-texture-settings-from-blueprint-not-working/426562/3 "2022-06-06T09:02:17Z")

</div>

I’m having the same issue in 4.27.2. It’s really like hitting a brick wall. I have so many textures I need to change settings on. Doing it manually will take forever. Please I hope someone knows how to fix this.

---

<div class="post-metadata">

**Author:** ![Andrej730](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/andrej730/32/1194692_2.png) [@Andrej730](https://forums.unrealengine.com/u/Andrej730)\
**Post date:** [September 5, 2022, 4:22am UTC](https://forums.unrealengine.com/t/set-compression-texture-settings-from-blueprint-not-working/426562/4 "2022-09-05T04:22:44Z")

</div>

Just spent several hours in 4.27 debugging the issue and turn out it was texture settings not being applied after changing it from blueprint / python script.  
Is there any workaround for that - a way to force texture update with new settings?

Upd. Tested in UE5.0 - bug still occurs, the presentation is below:

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/c/e/5ce41eaaa218c219f9a221aae393d6c62b40256d.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/c/e/5ce41eaaa218c219f9a221aae393d6c62b40256d.mp4)

---

<div class="post-metadata">

**Author:** ![Andrej730](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/andrej730/32/1194692_2.png) [@Andrej730](https://forums.unrealengine.com/u/Andrej730)\
**Post date:** [September 5, 2022, 7:32pm UTC](https://forums.unrealengine.com/t/set-compression-texture-settings-from-blueprint-not-working/426562/5 "2022-09-05T19:32:07Z")

</div>

I’ve actually just managed to fix it in python script by using “set\_editor\_property” instead of setting compression\_settings parameter:

```python
            # DOESN'T WORK - https://forums.unrealengine.com/t/set-compression-texture-settings-from-blueprint-not-working/426562/3
            # tex.compression_settings = unreal.TextureCompressionSettings.TC_HDR
            tex.lod_group = unreal.TextureGroup.TEXTUREGROUP_16_BIT_DATA

            tex.set_editor_property('compression_settings', unreal.TextureCompressionSettings.TC_HDR)
            tex.set_editor_property('lod_group', unreal.TextureGroup.TEXTUREGROUP_16_BIT_DATA)

```

You can also do it with “Set editor property” node from blueprint.

 ![UE4Editor_RUJwCDAkbF](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/a/fda2934580e701920f702a2c5f9bc9dfa17de9d0.png)

If you don’t know how to make this “set” node with texture compressions settings - it’s a bit tomfoolery but it works:

 ![Discord_lCjPK45823](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/6/0/960113e11dee1a0412fbf8828d8a9965489fbe7f.png)

---

<div class="post-metadata">

**Author:** ![FoamingGoat](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/foaminggoat/32/891856_2.png) [@FoamingGoat](https://forums.unrealengine.com/u/FoamingGoat)\
**Post date:** [January 17, 2024, 3:48pm UTC](https://forums.unrealengine.com/t/set-compression-texture-settings-from-blueprint-not-working/426562/6 "2024-01-17T15:48:14Z")

</div>

This works a charm, thank you! Same thing applies with Flip Green Channel.
