-
-
Notifications
You must be signed in to change notification settings - Fork 24.7k
Closed
Milestone
Description
Tested versions
- Reproducible on Godot 4.2.1 with published packages and with self compiled editor
System information
Linux Ubuntu 23.10 on Wayland with Godot 4.2.1
Issue description
Shader Material resources are not included inside an exported APK package for Android.
The editor correctly produces and caches those sub resources, but godot in headless mode fails to produce and include them in the exported APK package. When running in an automated CI/CD, such as the F-Droid build pipeline, it's not always possible to start the editor before generating the APK package.
Steps to reproduce
git clone https://gitlab.com/ygingras/godot-shader-res-repro.git
# open the project in the editor, install android export templates, close editor
cd godot-shader-res-repro
rm -rf .godot
godot --headless --export-release 'Android' repro.apk
apksigner sign --ks path/to/dev-keystore repro.apk
# connect an android device via USB
adb install repro.apk
# launch the apk on the mobile device
# the screen is plain grey or greyish blue rather than animated waterMinimal reproduction project (MRP)
https://gitlab.com/ygingras/godot-shader-res-repro
The Sprite2D uses a water material that includes a shader and two noise textures. Those display correctly to produce an animated water look when running inside the editor.
Reactions are currently unavailable