# Pasting hlsl directly into HLSL will crash and roll back level (undid 20minute of work for me because I was trying to duplicate an hlsl node but didnt check where I selected)

**URL:** <https://forums.unrealengine.com/t/pasting-hlsl-directly-into-hlsl-will-crash-and-roll-back-level-undid-20minute-of-work-for-me-because-i-was-trying-to-duplicate-an-hlsl-node-but-didnt-check-where-i-selected/2836046>\
**Category:** Issues and Bug Reporting (Unreal Engine)\
**Tags:** engine, unreal-engine, crash\
**Created:** [October 1, 2026, 12:56pm UTC](https://forums.unrealengine.com/t/pasting-hlsl-directly-into-hlsl-will-crash-and-roll-back-level-undid-20minute-of-work-for-me-because-i-was-trying-to-duplicate-an-hlsl-node-but-didnt-check-where-i-selected/2836046 "2026-10-01T12:56:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BoomFishBlocky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/boomfishblocky/32/1139120_2.png) [@BoomFishBlocky](https://forums.unrealengine.com/u/BoomFishBlocky)\
**Post date:** [October 1, 2026, 12:56pm UTC](https://forums.unrealengine.com/t/pasting-hlsl-directly-into-hlsl-will-crash-and-roll-back-level-undid-20minute-of-work-for-me-because-i-was-trying-to-duplicate-an-hlsl-node-but-didnt-check-where-i-selected/2836046/1 "2026-10-01T12:56:28Z")

</div>

### Summary

An HLSL node with pasted content will crash the entire engine and project, causing destructive level and unsaved-changes rollbacks.

### What Type of Bug are you experiencing?

Other

### Steps to Reproduce

1. Select an HLSL Custom shader node and copy it
2. Paste the node to see if it is copied correctly onto your clipboard
3. Select the code section of the HLSL node and paste it
4. A bunch of yellow and orange text will appear, and you’ll crash, and your level will be rolled back.

### Expected Result

If I accidentally try to paste something that isn’t supposed to be pasted, don’t let me.

### Observed Result

It crashes, prompts the send and close screen

### Affects Versions

5.7

### Platform(s)

Windows
