Search Issue Tracker
Fixed
Fixed in 6000.0.5f1, 7000.0.0a1
Votes
0
Found in
2023.3.0f1
6000.0.0f1
Issue ID
UUM-72651
Regression
No
[RayTracing] Several pragma require directives are ignored in .raytrace files.
Using #pragma require in .raytrace files doesn't work. All pragma require directives are ignored.
Steps to reproduce:
1. Clone the project from [https://github.com/INedelcu/PathTracingDemo] and open Assets/Shaders/RayGenerator.raytrace
2. Use one of the pragma require in a .raytrace file for example #pragma require int64bufferatomics or #pragma require int64 and save the file.
3. The shader fails to compile and generates the following error:
{quote}opcode '64-bit atomic operations' should only be used in 'Shader Model 6.6+'.{quote}
Actual results: No shader compilation errors are generated when using #pragma require directives.
Expected results: Shader fails to compile.
Reproducible with versions: 6000.0.2f1
Not reproducible with versions: N/A
Tested on (OS): Windows 11.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The text, buttons and checkmarks are outside their visual bounds when the Tier Settings window is docked
- Invalid front face configuration when building with GraphicsAPI set to WebGPU
- WebGL builds report wrong screen resolution if "matchWebGLToCanvasSize" is set to "false"
- List<T> in the Inspector does not update values when changed through Dropdown menu
- Crash on keywords::LocalSpace::Find when reimporting specific assets
Resolution Note (fix version 6000.0.5f1):
Fix verified in:
Unity 6 Preview
6000.0.5f1.6358
Revision: trunk 17028576122a
Built: Wed, 29 May 2024 00:17:24 GMT