lightbox-viewer icon indicating copy to clipboard operation
lightbox-viewer copied to clipboard

On some projects (???), if Domain Reload is default, in Play Mode only, classic lightprobe-based materials render incorrectly

Open hai-vr opened this issue 7 months ago • 2 comments

If Domain Reload is default ~AND Light Volumes is installed~, in Play Mode only, materials that don't support Light Volumes render incorrectly as if the scene had no light probes.

Materials that support Light Volumes render correctly inside the Lightboxes, and incorrectly outside of it.

  • ~If Light Volumes is not installed, it always works.~
  • If Domain Reload is OFF, it always works.
  • If Domain Reload is default ~AND Light Volumes is installed~, it works in Edit mode only.

Image

hai-vr avatar May 22 '25 10:05 hai-vr

It looks like there's some state that persists between package installs/uninstalls so this makes this really annoying to test

Shaders still seem to be able to sample from the light volumes even after Light Volumes is uninstalled if it was uninstalled during the same session, making the results difficult to interpret

hai-vr avatar May 22 '25 10:05 hai-vr

Reproduction attempts using Lightbox Viewer 2.2:

  • This happens ONLY in my developer project scene, even without Light Volumes installed.
    • Uninstalling Poiyomi Pro does not fix the issue (Poiyomi Pro is only installed in my developer project and no other projects for compatibility testing SSAO).
  • It doesn't happen in my main avatar project scene.
  • It doesn't happen in a minimal project that only contains lilToon and Lightbox Viewer 2.2 (using Lime avatar).

hai-vr avatar May 22 '25 11:05 hai-vr