Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4.0f1
2018.4.8f1
Issue ID
1185788
Regression
No
Crash on LightIndexCache::Apply when setting up light indices in Custom SRP if the Scene contains no lights
How to reproduce:
1. Open the "Crash-bug" Scene in the attached "case_1185788.zip" Unity project
2. Delete the "Directional Light" GameObject from the Scene
3. Observe the crash
Expected result: an error or warning in the Console about missing lights instead of a crash
Reproducible with: 2018.4.10f1
Note: could not reproduce on the 2017.4, 2019.2, 2019.3, and 2020.1 streams due to Console errors.
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
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
Resolution Note:
The crash is happening in the Preview package of SRP. We don't support preview packages.