EtherealEngine/etherealengine

[Bug]: Toggling CSM Breaks It

Opened this issue · 0 comments

Version

08c3b70(1.6.0)

Operating Systems

  • macOS
  • Windows
  • Linux
  • Android
  • IOS

Browser (if applicable)

No response

What is supposed happened?

CSM should be able to be toggled on and off and correctly clean itself up + reinitialize

What happened?

Toggling CSM will break it if it is re-enabled

Steps to reproduce

1. In the studio, open a scene with CSM enabled
2. Select the directional light, and toggle the "Use in CSM" boolean
3. Turn CSM back on, it will fail to reinitialize

Relevant Info

No response