Skip to content

Fixes issue in mono_class_init where we would return immediately inst… #1249

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

Merged
merged 1 commit into from
Jan 31, 2020

Conversation

UnityAlex
Copy link
Collaborator

@UnityAlex UnityAlex commented Jan 31, 2020

…ead of jumping to the cleanup routine. This would leave init_list in a dirty state for subsequent calls leading to recursive type definitions being thrown incorrectly. (case 1191002)

Release note:
Fix intermittent "TypeLoadException: Recursive type definition detected" that was being thrown on playmode start.

…ead of jumping to the cleanup routine. This would leave init_list in a dirty state for subsequent calls leading to recursive type definitions being thrown incorrectly. (case 1191002)
@UnityAlex UnityAlex requested a review from joncham January 31, 2020 15:04
@unity-cla-assistant
Copy link
Collaborator

unity-cla-assistant commented Jan 31, 2020

CLA assistant check
All committers have signed the CLA.

@joncham
Copy link
Member

joncham commented Jan 31, 2020

Nice. Can you open upstream PR as well?

@UnityAlex
Copy link
Collaborator Author

Yes I will open a pr for upstream as well.

@UnityAlex UnityAlex merged commit 1274236 into unity-master Jan 31, 2020
@UnityAlex UnityAlex deleted the unity-master-fix-class-init-1191002 branch January 31, 2020 16:34
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.

3 participants