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

Emit type hints for Ahead-of-Time compilation #630

Merged
merged 1 commit into from
Apr 10, 2023

Conversation

mayuki
Copy link
Member

@mayuki mayuki commented Apr 10, 2023

This is a workaround for an issue where Unity IL2CPP is unable to recognize generic virtual method calls for MessagePack's IFormatterResolver due to the serialization flow through the interface.

Type Hint to enable IL2CPP to generate code for GetFormatter<T>.

@mayuki mayuki merged commit 9dbda26 into main Apr 10, 2023
@mayuki mayuki deleted the hotfix/FormatterTypeHints branch April 10, 2023 07:30
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