Skip to content
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

[Fix] Fix to render asset id assignment to component when creating glb instance #4041

Merged
merged 1 commit into from
Feb 23, 2022

Conversation

mvaligursky
Copy link
Contributor

@mvaligursky mvaligursky commented Feb 23, 2022

Improvement to #4039, which was setting an asset id on a render component being created from the glb. The assignment was causing the render asset to reload, which does not support materials, causing missing materials.

This PR addresses this by only assigning the asset id, without triggering the component mesh instances to be recreated from it.

@mvaligursky mvaligursky self-assigned this Feb 23, 2022
@mvaligursky mvaligursky added area: graphics Graphics related issue bug labels Feb 23, 2022
@mvaligursky mvaligursky requested a review from a team February 23, 2022 10:51
@mvaligursky mvaligursky merged commit 34188d0 into dev Feb 23, 2022
@mvaligursky mvaligursky deleted the mvaligursky-render-asset-assign branch February 23, 2022 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants