Assigning Dynamic Texture to Dynamic Material Instance for Tessellated Material causes engine crash in Packaged Build when running with -DX12 command line.

Assigning Dynamic Texture to Dynamic Material Instance for Tessellated Material causes engine crash in Packaged Build when running with -DX12 command line.

I had this problem in my project. So I created a new blank C++ project. At first I could not get it to crash. I was using Tessellation in my project, So I enabled it on the test project I created to demonstrate this problem. With Tessellations enabled on the Material and if running from a Packaged Build with the -DX12 arguments it crashes in engine code.

I’ve packaged both the project and source as well as the build.

Project:

Debug Build:

Additionally, I tested this on two machines. One with a 1080 GTX (with latest driver), and the other with a AMD 290x r2, with Crimson 16.6 drivers. Both demonstrate the same behavior, with a crash in the engine.

This engine crash occurs in a packaged build with the -DX12 command line. I tested this in unreal 4.15.2, 4.15.3 and 4.16. All three versions crash.