Search Issue Tracker
Active
Votes
5
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
- Shader warnings are thrown after building High Definition 3D template
- "EndLayoutGroup: BeginLayoutGroup must be called first" error is thrown when changing Shader Precision Model from the Build Profiles window
- White artifacts/outlines are visible in the Garden Scene when viewing at meshes from a distance
- Shader warnings "Sprite-Unlit-Default" are thrown after building 2D Platrformer Microgame Template
- [Android] HLSL shader becomes corrupted when running on an Android device
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"