-
Notifications
You must be signed in to change notification settings - Fork 534
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
Unity 2023 & Unity 6000 breaking changes on Android. #839
Comments
I've briefly researched the changes in Unity Android that occur in Unity 2023 and later, and I'd like to share my findings.
|
I added a branch to test an alpha implementation for Unity 6. Given that 6 is actually 2023.3, I'm skipping 2023.1 and 2023.2. Since Unity changed their classes, I decided on a separate verion that isn't backwards compatible. The only alternative is using a lot of reflection to pick the correct classes, which won't be good for maintenance and performance. |
Describe the bug
Unity 2023 changed some Android classes, which cause compile errors with all plugin versions up to 2022.2.x.
This makes Unity 2023 incompatible with the android version of this plugin.
In the 2023.1.0 changelog:
This fork was linked on Discord, which is supposed to handle these changes.
https://github.com/ritolika/flutter-unity-view-widget/tree/Unity-2023.1
TODO
There are 2 choices:
I hope that we can somehow achieve option 1, but I don't know how feasible that is.
Errors
Here are some of the compilation errors you'll get when you try to build it
Compile errors (expand this)
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: