# How to read a texture imported with the Datasmith Runtime plugin?

**URL:** <https://forums.unrealengine.com/t/how-to-read-a-texture-imported-with-the-datasmith-runtime-plugin/2655591>\
**Category:** Plugins\
**Tags:** Datasmith, unreal-engine, question, texture-channel, Datasmith-Runtime\
**Created:** [September 11, 2025, 7:27am UTC](https://forums.unrealengine.com/t/how-to-read-a-texture-imported-with-the-datasmith-runtime-plugin/2655591 "2025-09-11T07:27:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JulianPW](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JulianPW](https://forums.unrealengine.com/u/JulianPW)\
**Post date:** [September 11, 2025, 7:27am UTC](https://forums.unrealengine.com/t/how-to-read-a-texture-imported-with-the-datasmith-runtime-plugin/2655591/1 "2025-09-11T07:27:27Z")

</div>

Working with UE 5.3.2, I want to read the pixel data from textures, which I import at runtime with the Datasmith Runtime plugin.  
My problem is that the read pixels do not represent the texture that I see. I try to read the pixels similar to [this](https://isaratech.com/ue4-reading-the-pixels-from-a-utexture2d/).  
Additionally, when I try to look at / open the texture in the editor, the texture “_gets broken”._ I open the material of the mesh, see the texture preview where the brick texture is shown, but when I open the texture it does not look correct anymore.

Preview

 ![grafik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/0/a/70a1e456ebcb32bbdf11eaf3fb1dc58fdc859bbf.png)

Opened Texture

 ![grafik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/3/923b95a8035b3a7b341ed65700e95f229aeccb64.png)

I compared the runtime import to the “_normal”_ import in the editor and the texture not only opens perfectly but some settings like _SRGB_ and _CompressionSettings_ are different, compared to the runtime import.  
Any idea on how toi handle that is welcome.  
Thank you.

---

<div class="post-metadata">

**Author:** ![UE\_FlavienP](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ue_flavienp/32/1194546_2.png) [@UE\_FlavienP](https://forums.unrealengine.com/u/UE_FlavienP)\
**Post date:** [September 11, 2025, 9:27am UTC](https://forums.unrealengine.com/t/how-to-read-a-texture-imported-with-the-datasmith-runtime-plugin/2655591/2 "2025-09-11T09:27:50Z")

</div>

What is the original file format you are importing with Datasmith runtime?

---

<div class="post-metadata">

**Author:** ![JulianPW](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JulianPW](https://forums.unrealengine.com/u/JulianPW)\
**Post date:** [September 11, 2025, 11:44am UTC](https://forums.unrealengine.com/t/how-to-read-a-texture-imported-with-the-datasmith-runtime-plugin/2655591/3 "2025-09-11T11:44:24Z")

</div>

I import a .udatasmith file with an assets folder in the same directory. The assets folder contains .png and .jpg textures.
