Search Issue Tracker
Duplicate
Votes
0
Found in
2021.2.0b3
Issue ID
1351290
Regression
No
[RTX] Dispatching RTX rays causes immediate crash with a closesthit shader in scene
The same issue as in case 1351303 regarding max_recursion_depth that has a value of 1 in the raytrace shader even though the maximum number of recursion in the closest hit shader is 8. Changing the max_recursion_depth to a larger value like 31 will avoid the crash. Please note that currently DXR will allow a max_recursion_depth of 31 (hardware limitation). If there are more than 31 TraceRay recursive calls the GPU will crash.
PlanarProjectionTracingShader.raytrace
#pragma max_recursion_depth 1;
Common.cginc
static const uint gMaxDepth = 8;
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- LineRenderer using URP SpriteLitDefault Material becomes invisible when animating its "Material._Renderer Color" property and disabling and reenabling the GameObject
- Space is missing between StyleSheet and owning document name when viewing inherited StyleSheets in context mode
- [SearchContext] Reference fields should show a mixed-value indicator ("-") when multiple objects with different references are selected
- Documentation Changelog and Licenses links for Multiplayer Center package redirect to missing pages
- AudioClip.loadState reports Loaded instead of Unloaded when AudioSettings.Reset() is called on a UnityWebRequest-loaded clip
Add comment