# Runtime virtual texture: failing to compile for cooked win64 build

**URL:** <https://forums.unrealengine.com/t/runtime-virtual-texture-failing-to-compile-for-cooked-win64-build/455992>\
**Category:** Rendering\
**Tags:** win64, unreal-engine, shader, question\
**Created:** [September 26, 2019, 2:26am UTC](https://forums.unrealengine.com/t/runtime-virtual-texture-failing-to-compile-for-cooked-win64-build/455992 "2019-09-26T02:26:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![geoffeep](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@geoffeep](https://forums.unrealengine.com/u/geoffeep)\
**Post date:** [September 26, 2019, 2:26am UTC](https://forums.unrealengine.com/t/runtime-virtual-texture-failing-to-compile-for-cooked-win64-build/455992/1 "2019-09-26T02:26:11Z")

</div>

Heya!

If I make a simple runtime virtual texture material for a landscape in a World Comp level, cook for PC and run the game, I get the following error:

LogPlayLevel: Warning: [2019.09.26-02.07.45:522][0]LogMaterial: Warning: GetIndexedTexture returning NULL (0)  
LogPlayLevel: Warning: [2019.09.26-02.07.45:872][5]LogMaterial: Warning: /Game/Maps/TestMaps/WorldCompTests/TerrainHoudiniOut/TerrainHoudiniOut\_x4\_y4.TerrainHoudiniOut\_x4\_y4:PersistentLevel.LandscapeStreamingProxy\_0.LandscapeMaterialInstanceConstant\_70: Failed to compile Material Instance with Base M\_BaseTerrain for platform PCD3D\_SM5, Default Material wil  
l be used in game.

Works fine in the viewport and PIE, but when I go look at the shader code for the DX SM5 for _High_ Quality in the material editor, it doesn’t seem to try to compile anything (all the shaders are blank, no errors).  
For DX SM5 _Medium_ Quality, there is hlsl code output.  
Not sure if that’s related, but seems suspicious.

Cheers,

Geoff

 ![288401-virtualtextureissue.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/9/1/5919d25d1868205693794a2f524d74f2f992d343.png)

---

<div class="post-metadata">

**Author:** ![Jeff\_A](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeff\_A](https://forums.unrealengine.com/u/Jeff_A)\
**Post date:** [September 26, 2019, 1:42pm UTC](https://forums.unrealengine.com/t/runtime-virtual-texture-failing-to-compile-for-cooked-win64-build/455992/2 "2019-09-26T13:42:55Z")

</div>

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

[https://epicsupport.force.com/unrealengine/s/](https://epicsupport.force.com/unrealengine/s/)

Thanks
