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

fixed issue with Unsafe.As not working in .Net 2.1 #198

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

richdog
Copy link
Contributor

@richdog richdog commented Jan 14, 2024

The Persistence extension was unable to load saves in .Net 2.1, due to an error caused by Unsafe.As not converting properly. This works fine in later versions of .Net, but for whatever reason fails in .Net 2.1, which is used for Unity.
image

This is slightly less efficient, but given how this is not a hot path it should be fine.

Copy link
Owner

@genaray genaray left a comment

Choose a reason for hiding this comment

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

Thanks a lot! :)

@genaray genaray merged commit c6fb4b3 into genaray:master Jan 17, 2024
1 check passed
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.

2 participants