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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment