Skip to content

Fix compiler error in Unity Android and more managed convert code - #798

Merged
neuecc merged 1 commit into
masterfrom
fix-unity-android
Feb 3, 2020
Merged

neuecc merged 1 commit into
masterfrom
fix-unity-android

Conversation

@neuecc

@neuecc neuecc commented Jan 31, 2020 •

Copy link
Copy Markdown
Member

About #748 .
exists compile error code in UNITY_ANDROID, typeof(T) is invalid.
Fixed to typeof(long).

This is a critical(and shameful) bug for Unity Android.

And @odysoftware reported BitConverterToInt64 still does not work correctly on Android IL2CPP ARMv7.
I've more fixed, remove all unsafe code in BitConverterToInt64.
This is pretty close to the v1 conversion code.

Fix compiler error and more managed convert code
@neuecc
neuecc requested a review from AArnott January 31, 2020 13:47
@odysoftware

Copy link
Copy Markdown

Just for your info, with those changes it is now working fine again on ARMv7, congrats and thanks alot.

@neuecc
neuecc merged commit 51649e0 into master Feb 3, 2020
@neuecc
neuecc deleted the fix-unity-android branch February 3, 2020 04:06
@CodeMasterYi

Copy link
Copy Markdown

Just for your info, with those changes it is now working fine again on ARMv7, congrats and thanks alot.

what about arm64-v8a?

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.

4 participants