Closed alexichepura closed 1 year ago
Somehow I overlooked android branch. https://github.com/awtterpip/bevy_openxr/tree/android Setting primary window to None was crucial to get FPS up. That was last part.
primary_window: None,
exit_condition: ExitCondition::DontExit,
Now xr example on quest 2 ~70FPS !!!
lto = "fat"
also helps a little.
Hello here, I've got bevy_openxr running on quest 2 (v57).
But ~20FPS with multiple messages "JniUtils-inl: Creating temporary JNIEnv. This is a heavy operation and should be infrequent…". Can't fix it out for few days. (Update --release used, like
cargo apk run --release --example xr
)Other issue I faced. Maybe helpful for others.
instance_extensions.retain(|ext| ext != &vk::KhrGetPhysicalDeviceProperties2Fn::name());