After disabling "Shared Material Shader Code," an error occurs.

“Shared Material Shader Code” in UE5.3.2 is disabled during the project packaging process. When running the packaged development version of the project, an error occurs. However, no error is reported when packaging the shipping version. I created a new third-person template empty project for testing purposes, and the issue still persists.The following is the error message:

We have the same issue in our project since 5.3, but if we enable it the development game works but the packaged staged game crashes on opening with an RHI error.