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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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