Skip to content

Conversation

@12Acorns
Copy link

@12Acorns 12Acorns commented Oct 9, 2024

Currently, as of unity 2022 (did not test any newer), if an assembly does not have a dot '.' in its name the function:
GetAssemblyName(Args) will return an empty string, instead of the assemblyName.

Instead, the method should only return an empty string if the assemblyName is empty/null, and return the assemblyName if the dotIndex is -1 (else perform the string split)

@12Acorns
Copy link
Author

12Acorns commented Oct 9, 2024

This specifically fixes an issue with GenericUnityObjects on unity 2022 (and possibly up)

Copy link
Author

@12Acorns 12Acorns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should work fine, if any problems just let know.

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 this pull request may close these issues.

1 participant