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

Allow namespace-agnostic class lookup by passing NULL namespace. #1113

Merged
merged 1 commit into from
Jan 2, 2019

Conversation

jechter
Copy link

@jechter jechter commented Jan 2, 2019

@Tak added a patch to allow looking up classes in any namespace by passing a NULL name_space parameter to mono_class_from_name_case: 622a992

That patch was lost when we updated to MonoBleedingEdge. While it still works correctly without the patch, this will keep logging annoying asserts to the console like this:

gstr.c:876: assertion 's2 != NULL' failed

This PR brings back the fix.

@jechter jechter requested a review from joncham January 2, 2019 11:26
@jechter jechter merged commit 5ff4deb into unity-master Jan 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants