Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
0
Found in
2019.3.0b2
2020.1.0a7
Issue ID
1186833
Regression
No
[DXR] Changing an include file used by a raytrace shader doesn't trigger a reimport of the raytrace shader.
Changing an include file used by a raytrace shaders doesn't trigger a reimport of the raytrace shader.
How to reproduce:
1) Have a ray tracing ready system - Nvidia RTX GPU (latest graphics drivers) and Windows 10 version 1809+.
2) Open attached project - RaytraceIncludeBug.zip.
3) Open scene SampleScene.
4) Change to GameView and notice the screen is yellow. This is the output of the raytrace shader RayTracingTest.raytrace. The color is hardcoded in the include file TestIncludeFile.hlsl - GetColor function.
5) Change the color returned by GetColor function to another color, save the file and return to the Editor. The screen color in GameView should change to the new color.
Actual result:
The raytrace shader is not reimported automatically (the screen in GameView is still yellow).
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Color property '_BaseColor' missing
- Point Light source stops lighting when moved out of camera frustum in Player while having 2 directional lights in scene present, and a fog enabled by script
- Sky does not get rendered when 'CameraRelativeRendering' is disabled
- Dropdown UI elements have their Content misplaced when nested inside a Prefab containing a root object with a Canvas Component
- “'UnityMetaVertexPosition': implicit truncation of vector type" Shader warning when compilating URP ShaderGraph shaders
Add comment