I really don’t.
There are a few other things that might cause issues with UE5.
First, the VR template does seem to perform better. I was getting freezes and crashes with a blank project.
Next, live coding. It absolutely has to be turned off. This causes so many issues and resolved so many peoples issues just but turning it off.
Lastly, not having a good PC setup. For VR, the requirements are a good bit higher. I had to buy a new GPU to get the projects working. You need at least an Rtx 2060 but I have a 3060ti and it does occasionally stutter on startup. I was planning for a 3070ti but budget did not permit and the card I got is decent. Also at least an 8 core cpu plus 8 threads and I would recommend 32gb minimum ram and 2 SSDs as well, one for os and one for project work (not usb)
The last one is more about random crashes and performance. However, as for the shader, I have never had issues with this and since your code worked in a new project, it could be you have live coding on.
If you want to share the original project, I will take a look remove binaries and intermediate first however before zipping.