Search Issue Tracker
Fixed in 0.11.0-preview.44
Votes
0
Found in [Package]
0.11.0-preview.4
Issue ID
1328505
Regression
No
[HybridRenderer V2] Ambient light is not applied to a mesh when it was created using RenderMeshUtility.AddComponents
How to reproduce:
1. Open the attached "HybridAmbientTest" project (download from Google drive, link in the edit)
2. Open the Scene "SampleScene"
3. Enter the Play Mode
Expected results: All of the Spheres are the same
Actual results: The third Sphere from the left is darker, does not take ambient light into consideration
Reproducible with: 0.11.0-preview.4 (2020.3.5f1, 2021.1.4f1, 2021.2.0a14)
Could not test with: 0.10.0-preview.21 and earlier because the RenderMeshUtility.AddComponents API was not yet introduced
Note:
- Currently as a workaround you can add the Component manually "entityManager.AddComponentData(entity, new AmbientProbeTag());"
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
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
Resolution Note (fix version 0.11.0-preview.44):
Fixed in Hybrid Renderer 0.11.0-preview.44 available in Unity 2020.1.9f1 and above