hakolao / egui_winit_vulkano

Egui gui integration with winit and vulkano
Apache License 2.0
78 stars 36 forks source link

A panic when running on android. #26

Closed Kirottu closed 1 year ago

Kirottu commented 1 year ago

I have been trying to get an app to run with vulkano, winit and egui on android. It compiles fine but when it starts on my phone it has this error: thread '<unnamed>' panicked at 'Cannot get the native window, it's null and will always be null before Event::Resumed and after Event::Suspended. Make sure you only call this function between those events.'

hakolao commented 1 year ago

Have you managed to get a basic vulkano example running? Just wondering if it is there or winit, egui or this lib.

I don’t have a debugging setup for android unfortunately, so hard to say directly.

Kirottu commented 1 year ago

Ok well it seems like no example using winit works. Everything seems to fail with this error.

hakolao commented 1 year ago

Might be better to report it to winit then

Kirottu commented 1 year ago

Yes I did so

Kirottu commented 1 year ago

Alright I managed to get it working with wgpu after some wrangling, thanks anyway.

hakolao commented 1 year ago

Great! :)