Search Issue Tracker

Active

Votes

0

Found in

6000.0.62f1

6000.2.12f1

6000.3.0b10

6000.4.0a4

6000.5.0a1

Issue ID

UUM-126650

Regression

No

Obsolete API warning CS0618: 'HDAdditionalLightData.SetIntensity(float)' is thrown when installing “Output Event Helpers” Samples to the project

-

Steps to reproduce:
1. Create new Unity project using High Definition 3D Template
2. Create any VFX Asset in Project window (Simple Loop VFX for example)
3. Open the VFX
4. At the top toolbar press dropdown icon to open a menu (next to “?” Icon)
5. Select Output Event Helpers
6. Once imported, observe the Console window  

Actual results: Warning is thrown in the Console window: Assets/Samples/Visual Effect Graph/17.5.0/OutputEvent Helpers/Runtime/VFXOutputEventPrefabAttributeLightHandler.cs(29,13): warning CS0618: 'HDAdditionalLightData.SetIntensity(float)' is obsolete: 'This method has been deprecated. Use LightUnitUtils.ConvertIntensity(...) & directly set Light.intensity instead. #from(2023.3)'
Expected results: No warnings are thrown in the Console window

Reproducible with versions: 6000.0.62f1, 6000.2.12f1, 6000.3.0b10, 6000.4.0a4, 6000.5.0a1

Tested on (OS): macOS Silicon Tahoe 26.0 (M1)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.