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

Doesn't work with IL2Cpp #18

Open
kjyv opened this issue Jun 11, 2021 · 4 comments
Open

Doesn't work with IL2Cpp #18

kjyv opened this issue Jun 11, 2021 · 4 comments

Comments

@kjyv
Copy link

kjyv commented Jun 11, 2021

Probably because of incomplete reflection support in il2cpp, GetTypeInfo().DefinedMethods doesn't return static methods, instance methods are included. This sadly makes this library unavailable with Unity for now.

@vangogih
Copy link

I've tested this in unity 2022.1.0a16 and migrations work correctly.
As well I've built a project for the android platform and everything works fine.

@kjyv
Copy link
Author

kjyv commented Dec 16, 2021

Sorry, I don't have the time to test this again but at the time of reporting, it was not working with Unity 2020.3 which is still current LTS and most likely still has the described issue.

It's possible that il2cpp has support for this now, I don't know. The alpha version is not a good version to test this on though, it should at least work on the current stable 2021.2. But of course you can decide for your project that it will work in the future at some point and you don't need to change anything.

@Aquastorm
Copy link

Just as info: I didn't found migrations issues with Android il2cpp builds produced by Unity 2021.3

@vangogih
Copy link

vangogih commented Mar 28, 2024

@kjyv @Aquastorm
Hey guys,

I have rewrote this plugin, made it from 5 to 10 times faster and added unity support
https://github.com/vangogih/FastMigrations.Json.Net

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

No branches or pull requests

3 participants