laurenth-personal / lightmap-switching-tool

Tool that allows switching different baked lightmap sets on a unity scene at runtime.
MIT License
657 stars 88 forks source link

Problem with light probes #31

Closed VitaliyVikulov-azur closed 3 years ago

VitaliyVikulov-azur commented 3 years ago

Hello, thank you for the great tool. I have a problem with light probes. It don't change if a scenario is changed. It take values from last baked data of the main scene. Unity version 2019.4.16f1. I have in my project: Scenes:

  1. Main scene with static objects, 1 dynamic object and lighprobes. Lightmode is Subtractive.
  2. Scene 2 with mixed directional light. Lightmode is Subtractive.
  3. Scene 3 with mixed directional light. Lightmode is Subtractive. I did everything that you wrote for setup. Light probes don't change if I try to change a scenario. It look the same as last baked result. How I can fix that? Thanks.
laurenth-personal commented 3 years ago

Hi, thanks for reporting this issue. I have indeed never tested with subtractive mode so I'm not sure it works properly. I will setup a test and get back to you but I might not have time to do that before next week.

laurenth-personal commented 3 years ago

Hi, I tried to do this in the test project provided :