Search Issue Tracker
By Design
Votes
1
Found in
6000.0.29f1
6000.1.0a6
Issue ID
UUM-90468
Regression
Yes
Lighting is overexposed when upgrading the project to Unity 6 and rebaking
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/Tower/TS.1.unity” Scene
3. Open Game view
4. Generate Lighting (Window > Rendering > Lighting)
5. Observe the Game view
Expected result: Lighting is the same as with older Unity versions
Actual result: Lightning is overexposed
Reproducible with: 6000.0.11f1, 6000.0.29f1, 6000.1.0a6
Not reproducible with: 2022.3.53f1, 6000.0.10f1
Reproducible on:
Play Mode
Windows Standalone Player
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
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
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
Resolution Note:
The reason for this turned out to be that lightmaps generated in Unity 6 had their type set to "Default" instead of the expected "Lightmap". The reason this happens in the attached repro project is that the project has a TextureImporter preset which has Type=Default. Since this preset has no filters, Unity will apply it whenever a texture is added to the project, including the when lightmap textures are added at the end of a lighting bake. The reason this only happens in Unity 6 is that in prior versions presets were not applied to lightmap textures.