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 migration bug with prefix assembly #3820

Open
cdhanna opened this issue Dec 13, 2024 · 0 comments
Open

Fix migration bug with prefix assembly #3820

cdhanna opened this issue Dec 13, 2024 · 0 comments
Assignees
Milestone

Comments

@cdhanna
Copy link
Collaborator

cdhanna commented Dec 13, 2024

The UsamMigrator.GetAssemblyDefinitionAssets() has an issue finding assemblies; if there are multiple with prefix

		var guid = AssetDatabase.FindAssets($"t:AssemblyDefinitionAsset {name}");

					if (guid.Length == 0)
					{
						continue; //there is no asset of this assembly to reference
					}

					if (guid.Length > 1)
					{
						throw new Exception($"Found more than one assembly definition with the name: {name}");
					}
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

No branches or pull requests

2 participants