Made Importer create Material with Auto Queue Control. The user can override it if he wants.#866
Merged
hybridherbst merged 1 commit intoKhronosGroup:devfrom Jun 12, 2025
Conversation
…verride it if he wants.
Collaborator
|
Thanks! You’ll have to carefully test this PR against at least Unity 2021.3 and 6 in all three of URP, HDRP and BiRP. A lot of changes have happened in this codepath and at some point „-1“ was the correct value for „auto queue“. You’ll also have to test runtime behavior – importing an opaque or transparent object at runtime needs to end up looking correctly. |
7 tasks
Contributor
Author
Contributor
Author
Contributor
Author
Contributor
Author
Contributor
Author
Contributor
Author
Contributor
Author
Contributor
Author
Contributor
Author
|
@hybridherbst My tests are done. Conclusion: my fix really fixes the imported material's Queue Control to be Auto. Can you please check and merge when you have free time? Thank you. P.S. All test projects are attached. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.











This PR fixes the problem mentioned in #865
If you agree, the user should be able to receive a material from the importer with Queue Control set to "Auto". If he wants, he can extract the material and override the queue however he likes.