Search Issue Tracker
Fixed
Fixed in 6000.0.5f1, 7000.0.0a1
Votes
0
Found in
2023.3.0f1
6000.0.0f1
7000.0.0a1
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
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