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
- ScrollView clips content when under an ancestor that has a filter set
- "Retrieving array element that was out of bounds" error thrown when attempting to remove a column from a Multi-Column List View
- Multi-Column List View horizontal scroll resets to left most position when scrolling vertically
- Floating License is lost for concurrent jobs
- Warning "Failed to insert item" is logged when Assigning Project to Organization's Project in the Project Settings
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/