diff --git a/common/src/main/cpp/export/meta_export_plugin.cpp b/common/src/main/cpp/export/meta_export_plugin.cpp index 5374b169..a734f0dd 100644 --- a/common/src/main/cpp/export/meta_export_plugin.cpp +++ b/common/src/main/cpp/export/meta_export_plugin.cpp @@ -30,6 +30,7 @@ #include "export/meta_export_plugin.h" #include +#include using namespace godot; @@ -451,6 +452,11 @@ String MetaEditorExportPlugin::_get_android_manifest_application_element_content contents += " \n"; } + if ((int)ProjectSettings::get_singleton()->get_setting_with_override("xr/openxr/environment_blend_mode") != XRInterface::XR_ENV_BLEND_MODE_OPAQUE) { + // Show the splash screen in passthrough, if the user launches it from passthrough. + contents += " \n"; + } + return contents; }