Search Issue Tracker
Fixed
Fixed in 2021.3.32f1, 2022.3.12f1, 2023.1.18f1, 2023.2.0b15, 2023.3.0a11, 7000.0.0a1
Votes
0
Found in
2021.2.19f1
2021.3.5f1
2022.2.0a17
2023.1.0a1
2023.2.0a1
2023.3.0a3
Issue ID
UUM-2731
Regression
No
Light-related editor-only APIs are not clearly marked as such, confusing users
Reproduction steps:
1. Open the attached project "ZSerializer.zip"
2. In File > Build Settings make sure that "ZSerializer/Samples/2 - Scene Groups/House/Scenes/Main Menu", "ZSerializer/Samples/2 - Scene Groups/House/Scenes/Bedroom", "ZSerializer/Samples/2 - Scene Groups/House/Scenes/Kitchen" Scenes are added in Scenes in Build
3. Build
4. Observe the Console
Expected result: Build is successful
Actual result: Build fails with 21 errors
Reproducible with: 2021.2.14f1, 2022.1.0b10, 2022.2.0a5
Could not test with: 2019.4.36f1, 2020.3.30f1 - Project breaks after downgrade
Errors:
- 'Light' does not contain a definition for 'shadowAngle' and no accessible extension method 'shadowAngle' accepting a first argument of type 'Light' could be found (are you missing a using directive or an assembly reference?)
- 'LightProbeGroup' does not contain a definition for 'dering' and no accessible extension method 'dering' accepting a first argument of type 'LightProbeGroup' could be found (are you missing a using directive or an assembly reference?)
- 'MeshRenderer' does not contain a definition for 'scaleInLightmap' and no accessible extension method 'scaleInLightmap' accepting a first argument of type 'MeshRenderer' could be found (are you missing a using directive or an assembly reference?)
- Property or indexer 'LightProbeGroup.probePositions' cannot be assigned to -- it is read only
- 'Terrain' does not contain a definition for 'deringLightProbesForTrees' and no accessible extension method 'deringLightProbesForTrees' accepting a first argument of type 'Terrain' could be found (are you missing a using directive or an assembly reference?)
Notes:
- Issue is not reproducible if building for a second time the same project
- Issue is not reproducible if entire code in script "UnityComponentZSerializers.cs" is commented
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Builder Scrollview is unable to scroll all the way down when the window is downsized vertically
- Celestial bodies order remains unchanged when the Distance setting is modified
- A memory leak occurs with massive terrain when camera position changes occur.
- No valid hits are returned when using RaycastCommand
- Camera is not overlooking the main Scene in Scene View in the HDRP Sample Template
Add comment