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
- Project Auditor suggests to update package to a lower version than installed when the recommended package version is not the latest version
- Low performance when multiple meshes using BlendShape are rendered on screen
- TMP Dropdown visually corrupts or disappears when its own GameObject is assigned to "Caption Image" or "Placeholder" elements
- Usymtool tries to upload GameAssembly.pdb when it doesn't exist after building with Mono backend
- “NullReferenceException” error thrown in the Console when running HDRP Wizard “Fix All” in URP project after installing HDRP Package
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/