Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.2.16f1
2021.2.17f1
2021.3
2022.2.0a8
Issue ID
1416268
Regression
Yes
Shaders takes a long time to compile when using the Volumetric Lights
How to reproduce:
1. Open the attached project "ShaderCompLong.zip"
2. Open the "Demo" Scene (Assets/VolumetricLights/Demos/Minimal/Scene)
Expected result: The Shader compilation takes a few seconds to finish
Actual result: The Shader compilation takes around 20min. to finish
Reproducible with: 2021.2.16f1, 2021.2.19f1, 2021.3.0f1, 2022.2.0a8, 2022.2.0a10
Not reproducible with: 2019.4.37f1, 2020.3.33f1, 2021.2.15f1, 2022.1.0b15, 2022.2.0a7
Comments (1)
-
Kronnect
Apr 27, 2022 05:23
This issue only happened in 2021.x and was fixed in latest version (5.0) of Volumetric Lights.
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
- Brush Size in the Inspector window does not update when the Brush Size in Scene View is changed
- "ArgumentOutOfRangeException" errors are thrown every time a keyboard key is pressed when renaming a component in UI Builder with a symbol and changing the name after label attribute warning
- Values in "Rect Transform" component are only partially updated when changing values in Prefab Mode
- Same Asset Type Focused Inspectors do not repaint when menus are manipulated
- Bool or Trigger Parameters can be selected via right clicking to the right of a Parameter control in the Animator Window
Resolution Note (2022.2.X):
I double-checked, the time is spent inside the FXC compiler, so there's nothing we can really do about it.
Adding a "[loop]" attribute before the loop with many iterations in Raymarch.hlsl fixes the issue.