Skip to content

fix NRE during fade when element is destroyed - #104

Open
Kulltero wants to merge 2 commits into
Facepunch:masterfrom
Kulltero:CanvasGroup
Open

fix NRE during fade when element is destroyed#104
Kulltero wants to merge 2 commits into
Facepunch:masterfrom
Kulltero:CanvasGroup

Conversation

@Kulltero

Copy link
Copy Markdown
Contributor

the CanvasGroup is destroyed with its element but any running coroutine doesn't stop so we have to manually check after every yield if the group reference is still valid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant