Skip to content

Fix LookDev env library assignment after leaving playmode. #3214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 21, 2021

Conversation

JulienIgnace-Unity
Copy link
Contributor

Purpose of this PR

After leaving playmode, LookDev environment couldn't be changed anymore.
This PR fixes this.
This was due to a stale context being captured in the lambda used to refresh the library.


Testing status

Tested the repro stepped described above.

@github-actions
Copy link

It appears that you made a non-draft PR!
Please convert your PR to draft (button on the right side of the page)
and cancel any jobs that started on Yamato.
See the PR template for more information.
Thank you!

Copy link
Contributor

@JMargevics JMargevics left a comment

Choose a reason for hiding this comment

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

Verified fix with 2021.1.0b3, all works well on my side ✅

@sebastienlagarde sebastienlagarde merged commit abd7de7 into hd/bugfix Jan 21, 2021
@sebastienlagarde sebastienlagarde deleted the hd/fix-lookdev-library branch January 21, 2021 12:35
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.

4 participants