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
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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"