Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
[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.
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.
- NullReferenceExceptions are being thrown when saving a ScriptableObject with an array of a type with a CustomPropertyDrawer that uses TrackPropertyValue
- Applied velocity is inconsistent when using Rigidbody AddForce() with ForceMode.VelocityChange
- Crash on AudioUtil_CUSTOM_HasAudioCallback when exiting Play Mode while the Inspector is displaying a GameObject with an empty script attached
- Scroll offset is framerate-dependent when scrolling with velocity in the Device Simulator
- "Object.FindObjectsOfType<T>() is obsolete" warning is thrown when using "Transitions Plus" asset