juicycleff / flutter-unity-view-widget

Embeddable unity game engine view for Flutter. Advance demo here https://github.com/juicycleff/flutter-unity-arkit-demo
BSD 3-Clause "New" or "Revised" License
2.09k stars 504 forks source link

[iOS][Vuforia]: Immediate Crash after App Start #950

Closed Ahmadre closed 1 month ago

Ahmadre commented 1 month ago

Describe the bug When I use Vuforia with latest Unity 6 it's crashing immediatly without getting any infos out of XCode or Flutter (Direct crash after SplashScreen).

Unity:

Smartphone:

Ahmadre commented 1 month ago

Related Issue: https://github.com/juicycleff/flutter-unity-view-widget/issues/314

timbotimbo commented 1 month ago

Did this work before on a lower Unity version, or is this a general issue with setting up Vuforia?

Given that this plugin doesn't support 2023 on android yet, I probably won't test Unity 6 specific issues yet.

Ahmadre commented 1 month ago

Did this work before on a lower Unity version, or is this a general issue with setting up Vuforia?

Given that this plugin doesn't support 2023 on android yet, I probably won't test Unity 6 specific issues yet.

It works now with this approach: https://github.com/juicycleff/flutter-unity-view-widget/issues/314#issuecomment-785302253

@timbotimbo can we add this to our README docs? If you want I can create a PR with a Vuforia Setup section. There're other options one should keep in mind for third party frameworks embedded.

It works now with Unity 6 and latest Vuforia :)