@TooManyfps (TooManyfps) posted a new topic, subject "Set Compression/Texture Settings from Blueprint not working". It read:

   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.png1920×1080 443 KB

So @Cerulean_Deity (Cerulean_Deity) replied

    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.

After which, @Jenus (Jenus) added

    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.

@Andrej730 (Andrej730) replied

    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

To which @Andrej730 (Andrej730) replied

    I've actually just managed to fix it in python script by using “set_editor_property” instead of setting compression_settings parameter:
    [code] 
                    # 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)
        
    [/code]
    
    You can also do it with “Set editor property” node from blueprint.  
    
    
    UE4Editor_RUJwCDAkbF1031×416 57.7 KB
    
    If you don't know how to make this “set” node with texture compressions settings - it's a bit tomfoolery but it works:  
    
    
    Discord_lCjPK45823422×535 63.2 KB


{'source': 'discourse', 'url': 'https://forums.unrealengine.com/t/set-compression-texture-settings-from-blueprint-not-working/426562', 'title': 'Set Compression/Texture Settings from Blueprint not working', 'views': 586, 'has_accepted_answer': False, 'word_count': 400, 'like_count': 0, 'reply_count': 1, 'participant_count': 4, 'posts': 5, 'tags': 'question texture runtime parameters set compression', 'author': '@TooManyfps (TooManyfps)', 'participants': '@TooManyfps (TooManyfps), @Cerulean_Deity (Cerulean_Deity), @Jenus (Jenus), @Andrej730 (Andrej730)', 'image_url': ['https://d3kjluh73b9h9o.cloudfront.net/optimized/4X/3/f/e/3feb7f204e6a410f6df8c949209cdd533437593d_2_1024x576.png'], 'created_at': '2018-06-03T13:15:49.000Z', 'last_posted_at': '2022-09-05T19:32:07.922Z'}