Search Issue Tracker
By Design
Votes
1
Found in
2019.3.13f1
2019.4
2020.1
2020.2
Issue ID
1259117
Regression
No
'Particle System' Lights do not support Experimental 2D Lights
How to reproduce:
1. Open attached project "2DURPTest.zip" and scene "SampleScene"
2. In Hierarchy window, create any 2D light (right-click -> Light -> 2D -> * Light 2D (experimental) )
3. In Hierarchy window, select Particle System object
4. In Inspector, Enable 'Lights' sub-component
5. Try to drag the created 2D light into the Lights -> Light field
Expected result: the 2D light is attached to the Light field
Actual result: the 2D light is not attached to the Light field
Reproducible with: 2019.4.3f1, 2020.1.0b15, 2020.2.0a17
Could not test with: 2018.4 (2D Render Pipeline was not yet implemented/released)
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Not possible to support this because 2D lights are MonoBehaviours in a package and the ParticleSystem has no way to handle them. At best we would need to just spawn GameObjects/Prefabs which is something a user can do with a script and would have no benefit being a ParticleSystem feature. We avoided this when we added the Lights module for performance reasons as we don't want the overhead of many GameObjects for simple lights however with 2D lights this is unavoidable.
More info here including a script to do it:
https://forum.unity.com/threads/lwrp-using-2d-lights-in-a-particle-system-emitter.718847/