Search Issue Tracker
By Design
Votes
0
Found in
6000.0.15f1
Issue ID
UUM-78019
Regression
Yes
Texture type of the Lightmaps is set incorrectly when the lighting is baked
How to reproduce:
1. Open the attached “LightmapDifference“ project
2. Open the “SampleScene”
3. Open the Lighting window (Window → Rendering → Lighting)
4. Press the arrow button near the Generate Lighting button and select "Clear Baked Data"
5. Click on the Generate Lighting button
6. Click on any generated Lightmap in the “SampleScene” folder (Assets → Scenes → SampleScene)
7. Observe its Texture Type in the Inspector window
Expected result: Texture type of the generated Lightmap is set to either “Lightmap” or “Directional Lightmap”
Actual result: Texture type is set to “Default”
Reproducible in: 6000.0.11f1, 6000.0.15f1
Not reproducible in: 2021.3.42f1, 2022.3.42f1, 6000.0.10f1
Reproducible on: Windows 10, Windows 11 (user’s)
Not reproducible on: no other environment tested
Workaround: Deleting the “Presets” folder solves the issue
Comments (1)
-
evelynmartinez9911
Aug 12, 2024 07:29
How do I recover $222,500. BTC sent to a romance scammer?
It's possible to get back your money little I know it was a big shock of my life because the company i sent my money to was revealed to be a total scam.
I contacted the professional and they helped me with the recovery of all my money successfully, you can also contact them for help. They will help you retrieve back your money, I was able to retrieve all my money back through the professional, you can contact them too they are ready to help....Email Address: dwchzone @ gmail . com
Whats-App: + 1 (803) 392 - 1735
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
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
Resolution Note:
Historically, texture presets have not been applied to lightmaps even though lightmaps are textures. A user reported this and after discussing the issue internally we decided that this was a real bug, so we fixed it in 6000.0.11f1.
This means that projects which have TextureImporter presets configured in PresetManager without a filter, will now have these presets applied to their generated lightmaps (because they are textures). The attached test repro falls into this category: The presets are applied to the generated lightmaps and this explains why type is set to Default.
If you do not want a particular preset to apply to lightmaps, you can use Preset Manager's Filter column to control which presets are applied to what.
This issue has recently been discussed on our forums as well: https://discussions.unity.com/t/significant-urp-lightmapping-apv-discrepancy-between-6000-0-11f1-vs-6000-0-3f1/1487591/13.