flutter-unity-view-widget icon indicating copy to clipboard operation
flutter-unity-view-widget copied to clipboard

Windows desktop support

Open Wishmater opened this issue 3 years ago • 14 comments

Now that the flutter desktop API is somewhat stable, are there any plans to support flutter_unity for windows? PC is a huge market for games and I think a lot of projects would benefit for supporting it.

Wishmater avatar Sep 25 '21 19:09 Wishmater

@Wishmater yes. I have a branch for that, WIP

juicycleff avatar Oct 04 '21 18:10 juicycleff

Hi, just wanted to check if there is any timeline on that feature.

KonradMil avatar Mar 07 '22 21:03 KonradMil

Hello @juicycleff Thank you for the great plugin! I saw on https://pub.dev/packages/flutter_unity_widget that the package now supports windows. Is that information correct and if yes how do I get it running? For now I still get the error "TargetPlatform.windows is not yet supported by the unity player plugin" with version 2022.1.0+2.

brookman avatar May 04 '22 08:05 brookman

Hi @brookman i was hoping to finish windows support last night, but ran out of time, it should be up this week, I just need to better improve the way the unity dll will be loaded and shared by the projects. Will keep this issue posted with my progress

juicycleff avatar May 04 '22 09:05 juicycleff

@juicycleff Thank you for the swift reply! Having the Unity integration work will help greatly with my project because otherwise I would have to find a solution myself. Let me know if there is a way to support you with the implementation.

brookman avatar May 05 '22 07:05 brookman

@juicycleff will thw windows support be merged to the main once ready or will it stay in a separate branch? Thank you for your effort!

riccardocescon avatar May 30 '22 18:05 riccardocescon

Any updates? Even just preliminary support would be very helpful.

TonyHoyleRps avatar Jul 12 '22 09:07 TonyHoyleRps

Hi @juicycleff I really appreciate your efforts for creating flutter_unity_widget. Do windows support for Flutter unity widget ready or not?

fahadmustafa650 avatar Jul 18 '22 10:07 fahadmustafa650

Hi everyone ! I'm asking because the last message was a long time ago, do the package support windows now ? And if so, do you have so kind of guide to make it work ? If not, could we as the community help a bit ? I'm available a lot and really motivated to work on this kind of problematic, but I don't know where or how I can help

Daumas-hugo avatar Feb 22 '23 09:02 Daumas-hugo

It doesn't support it yet.

As far as I know, it was a work in progress, which has not been worked on for a pretty long time. I don't know whether that is due to an issue or a lack of time/interest.

On the master branch you can make a windows export from Unity, but it won't work in Flutter.

I haven't tried the feat/windows_support branch yet, but that hasn't been updated in over a year either.

timbotimbo avatar Feb 22 '23 22:02 timbotimbo

I just created a window that executes the data package with flutter as the parent hwnd then resizes it to exactly match the space required. If I want to put some UI on top like a menu I screenshot the unity window then hide it.

That requires the app to be written around it - it's not the kind of thing that works as a plugin, as you need to know when UI is about to appear and the unity side has to have code that'll put a screenshot in a common directory for flutter to pick up.

On Wed, 22 Feb 2023 at 22:25, timbotimbo @.***> wrote:

It doesn't support it yet.

As far as I know, it was a work in progress, which has not been worked on for a pretty long time. I don't know whether that is due to an issue or a lack of time/interest.

On the master branch you can make a windows export from Unity, but it won't work in Flutter.

I haven't tried the feat/windows_support branch yet, but that hasn't been updated in over a year either.

— Reply to this email directly, view it on GitHub https://github.com/juicycleff/flutter-unity-view-widget/issues/468#issuecomment-1440894738, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIHI5WKPA7Q6M433P3P2TQ3WY2G4ZANCNFSM5EX5MRVQ . You are receiving this because you commented.Message ID: @.***>

--

 Click here https://roofwright.com/email-disclaimer/ to view our email disclaimer  

TonyHoyleRps avatar Feb 23 '23 11:02 TonyHoyleRps

@juicycleff Appreciated your effort working on the Windows support, would like to know if it's ready. Thank you so much!!

sundong212 avatar Apr 17 '23 18:04 sundong212

@juicycleff Could you please provide any update on this? It would be appreciated so much.

vad-bal avatar Jan 23 '24 10:01 vad-bal