godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.44k stars 21.07k forks source link

.blend files import issue in Android editor #92825

Open surendra019 opened 4 months ago

surendra019 commented 4 months ago

Tested versions

Using Godot v 4.0 android version

System information

Android 14

Issue description

I am not able to import .blend files in Godot android editor because of the blender 3 path. What path should I give there to make it work properly. I have also tried to get the complete blender installation folder into the android device and then given its path, but it also don't work. Please help

Steps to reproduce

Try to give blender 3 path in Godot android editor

Minimal reproduction project (MRP)

You can create a new project in android editor

bruvzg commented 4 months ago

You can't. There's no Blender for Android, and if there was, Godot won't have permissions to run an executable that is not part of the same app.

Zireael07 commented 4 months ago

This should be clearly documented and the blender path option made uninteractable on Android

bruvzg commented 4 months ago

blender path option made uninteractable on Android

As well as fbx2gltf, oidn_denoise and all export tools options that are not usable as well.

AThousandShips commented 4 months ago

Do we have any system in place to control editor settings based on platform? Other than completely hiding them?

bruvzg commented 4 months ago

Do we have any system in place to control editor settings based on platform? Other than completely hiding them?

I do not think so, hiding is easy, but not disabling it will likely require adding new PROPERTY_HINT_.

AThousandShips commented 4 months ago

I think just documenting it more clearly and adding some specific warnings would be sufficient, and just hiding the setting itself

bruvzg commented 4 months ago

I do not think so, hiding is easy, but not disabling it will likely require adding new PROPERTY_HINT_.

Actually, I'm wrong, there's PROPERTY_USAGE_READ_ONLY that seems to do it (but UI is not super clear, it's only minimal difference in color). And it can have a list of supported platforms in the tooltip line, other platform specific APIs do.

Screenshot 2024-06-06 at 14 29 51
AThousandShips commented 4 months ago

Then we can just have it be marked as read only on unsupported builds to expose the tooltip, to avoid confusion, along with adding a note to this page