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

Objects tagged as "EditorOnly" are still exported (USDU-245) #303

Open
hybridherbst opened this issue Mar 13, 2022 · 0 comments
Open

Objects tagged as "EditorOnly" are still exported (USDU-245) #303

hybridherbst opened this issue Mar 13, 2022 · 0 comments

Comments

@hybridherbst
Copy link
Contributor

hybridherbst commented Mar 13, 2022

This tag is used in Unity to exclude objects from any kind of building/exporting.
Currently, it's not respected on export.

SceneExporter.cs just needs this in ExportImpl:

                if (kvp.Key.CompareTag("EditorOnly"))
                {
                    continue;
                }

I'm happy to make a PR once current dev is usable for export again.

@etienne-unity etienne-unity changed the title Objects tagged as "EditorOnly" are still exported Objects tagged as "EditorOnly" are still exported (USDU-245) Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants