Search Issue Tracker
Active
Votes
6
Found in
2021.2.0b2
2021.3
2021.3.0f1
2022.1
2022.2
Issue ID
1420807
Regression
Yes
"Can't remove Light because UniversalAdditionalLightData" error appears when destroying certain VFX in Play Mode
How to reproduce:
1. Open the user's attached project
2. Enter Play Mode
3. Press the "D" key and select "NovaMissileSoftBlue"
4. Left click in the Game view and observe the Console window
Expected result: No errors
Actual result: "Can't remove Light because UniversalAdditionalLightData (Script) depends on it" errors appear
Reproducible with: 12.0.0 (2021.2.0b2), 12.1.6 (2021.2.19f1), 12.1.7 (2021.3.4f1), 13.1.8 (2022.1.5f1), 14.0.3 (2022.2.0a16)
Not reproducible with: 7.7.1 (2019.4.39f1), 10.9.0 (2020.3.36f1), 12.0.0 (2021.2.0b1)
Reproduced on: macOS 11.6 (Intel)
Notes:
-With some effects, it's not reproducible
-Reproducible with VFX: SoulMissile(Crimson,Green,Orange,Purple), NukeMissile(Blue,Fire), LightningMissile(Blue,Green,Pink,Yellow), LightningSoftMissile(Blue,Green,Pink,Yellow), SparkleMissile(Blue,Green,Pink,Yellow), StormMissile
Comments (4)
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 speed is slower when entering Play mode
- UI Builder elements disappear and "Semantic - Unknown template name" error appears when changes to "Template" parameter are saved
- Renderers outside Light Probe hull use incorrect Ambient Probe values when "Renderer Light Probe Selection" is set to "Use Ambient Probe" and "Light Probes" on Mesh is set to "Blend Probes"
- ArgumentNullException error occurs when selecting a Camera in the Hierarchy with the Scene view open
- Clicking 'Open Editor Log' through the Console fails to open redirected Logs when relative Log files exist outside of the Project root
Archanor
Jul 21, 2024 14:10
Same error in URP 14.0.10, Unity 6
THE2FUN
Mar 31, 2024 22:41
Yeah same here, i want to remove/destroy light from gameobject it saying
"Can't remove Light because UniversalAdditionalLightData (Script) depends on it"
Unity 2022.3.22LTS
UNITY PLEASE FIX THIS
abandon_games
Aug 10, 2022 11:38
I was getting this error because I was destroying the `Light` component instead of the game object that the `Light` component is attached to - seems like the proper way to get rid of the light data is to destroy the game object itself.
MastaMax
Jul 08, 2022 03:33
Same issue here. Not a blocker, but logs are clogged with this error meesage:
"Can't remove Light because UniversalAdditionalLightData (Script) depends on it"