Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Avoid throwing when the first ongui pass is not a layout pass #965

Merged
merged 1 commit into from
Nov 26, 2018

Conversation

shana
Copy link
Member

@shana shana commented Nov 19, 2018

Getting an exception every now and then when refreshing assets Unity quickly, as the dictionary might not have the entries we expect if the layout pass hasn't actually happened (I don't know how it happens, but it's happening), so added a guard to prevent it from throwing.

@StanleyGoldman StanleyGoldman merged commit 4e09bfc into master Nov 26, 2018
@StanleyGoldman StanleyGoldman deleted the fixes/avoid-nre branch November 26, 2018 20:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants