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

Errors are thrown when doing a clean build #19

Open
sandrofigo opened this issue Dec 15, 2023 · 0 comments · May be fixed by #20
Open

Errors are thrown when doing a clean build #19

sandrofigo opened this issue Dec 15, 2023 · 0 comments · May be fixed by #20

Comments

@sandrofigo
Copy link

When freshly cloning a repository and running a build for the first time through the Unity CLI (CI/CD) errors similar to the one below are thrown:

Library\PackageCache\[email protected]\Editor\HierarchyDrawer.cs(344,31): error CS0234: The type or namespace name 'PrefabStageUtility' does not exist in the namespace 'UnityEditor.Experimental.SceneManagement' (are you missing an assembly reference?)

Unity Version: 2021.3.20f1

The error above does not prevent the build from finishing, but clutters the output logs with false positives.

Reason behind this is the usage of UnityEditor.Experimental.SceneManagement which has changed in newer version of Unity to UnityEditor.SceneManagement.

@sandrofigo sandrofigo linked a pull request Dec 15, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant