Skip to content

Conversation

unity-cchu
Copy link
Contributor

Checklist for PR maker

  • Have you updated the changelog? Each package has a CHANGELOG.md file.

Purpose of this PR

This is a backport of 0d1d0f8


private static void OnPlayModeStateChanged(PlayModeStateChange state)
{
if (state == PlayModeStateChange.ExitingEditMode || state == PlayModeStateChange.ExitingPlayMode)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add a null check for s_ShadowCasterGroups here as it was causing a NullReferenceException

@unity-cchu unity-cchu merged commit c259545 into 10.x.x/release Feb 15, 2022
@unity-cchu unity-cchu deleted the 10.x.x/2d/backport-fix-for-self-shadow branch February 15, 2022 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants