Unity Issue Tracker - Warnings are thrown after building Universal 3D Sample template project
Fixed
UUM-86565
Warnings are thrown after building Universal 3D Sample template project
Unity: SRP Templates
Fixed
6.2.X
6.1.X
6.0.X
Issue no longer seen when URP 3D Sample Template is built and run on 6000.2.0a1
Warning is no longer seen in 6000.0.26f1
Steps to reproduce:
1. Create a new project with Universal 3D Sample template
2. Build And Run
3. Observe the Console
Actual results: "Assets/Scenes/Garden/Scripts/Runtime/WashiLightController.cs(42,20): warning CS0414: The field 'WashiLightController.objectsSearchFilter' is assigned but its value is never used" and "Assets/Scenes/Garden/Scripts/Runtime/DynamicLightController.cs(86,17): warning CS0414: The field 'DynamicLightsManager.ignoreSceneCamera' is assigned but its value is never used" warnings are thrown Expected results: No errors or warnings are thrown
Reproducible with versions: 2022.3.0f1, 2022.3.53f1, 6000.0.26f1, 6000.1.0a6 Can’t test with versions: 2021.3.46f1, 2022.2.21f1 (no Universal 3D Sample template)
Tested on (OS): macOS Sequoia 15 (Intel)
Prioritise and Follow this issue
Have a workaround or additional info about this issue?