Search Issue Tracker
Won't Fix
Won't Fix in 2023.2.X
Votes
0
Found in
2023.1.0b7
2023.2.0a8
Issue ID
UUM-29773
Regression
Yes
URP Simple Lit shader does not bind lightmaps correctly
Steps to reproduce:
- Download Adventure - Sample Game project (pull LightBaker branch)
- Open Market-Nighttime scene
- Make sure that Double Sided Global Illumination is unchecked in the material properties
- Make sure that Auto Generate and Progressive Updates are unchecked
- Bake lighting using CPULM or GPULM
Expected result:
- Lightmaps are correctly applied to world geometry
Actual result:
- Lightmaps are lacking indirect bounce, and are incorrectly composited. Errors are thrown in the console (see [^Editor-Bug-ShaderBinding.log])
Notes:
- The following error is thrown in the console: {color:#27292a}Metal: Fragment shader missing texture binding at index 0 (unity_Lightmap / Universal Render Pipeline/Simple Lit){color}
- {color:#27292a}When baking with the GPULM, the following errors are thrown: {color}
[BakePipeline::BakeStage] Bake took 17030.24ms and failed with code 5.
#0 GetStacktrace(int)
#1 DebugStringToFile(DebugStringToFileData const&)
#2 (anonymous namespace)::RunBake(void)
#3 Thread::RunThreadWrapper(void)
#4 _pthread_start
#5 thread_start
- Clearing baked data, library folder, GI or shader cache does not fix the issue
- {color:#27292a}Observed in 582a02a42f59{color}
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
- "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
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
This issue does not reproduce on latest 2023.1 or 2023.2
Resolution Note (2023.2.X):
This issue does not reproduce on latest 2023.1 or 2023.2