Non-directional lights not rendering on physical Android devices with Filament v1.56.0
- Dominant language
- C++
- Stars
- 20.5k
- Forks
- 2.3k
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 74
Description
# Non-directional lights not rendering on physical Android devices with Filament v1.56.0
**Describe the bug**
Non-directional lights are not being rendered on physical Android devices when using Filament v1.56.0. DIRECTIONAL lights (sun or simple DIRECTIONAL) work correctly, but other light types are not visible. The issue occurs only on physical devices (confirmed on Pixel 8 with Android 15) while working correctly on emulators. Reverting to Filament v1.52.0 resolves the issue.
**To Reproduce**
1. Set up a scene with non-directional lights (e.g., point lights, spot lights)
2. Build and run the application using Filament v1.56.0
3. Deploy to a physical Android device
4. Observe that non-directional lights are not visible in the scene
5. Deploy the same application to an Android emulator to confirm lights render correctly there
**Expected behavior**
All light types (both directional and non-directional) should be rendered correctly on physical Android devices, matching the behavior seen in emulators.
**Desktop:**
- OS: macOS 15.2
- Development Environment: Android Studio Ladybug Feature Drop | 2024.2.2 (Build #AI-242.23726.103.2422.12816248)
- Hardware: Apple M4 Pro, 64 GB
**Smartphone (please complete the following information):**
- Device: Pixel 8
- OS: Android 15
- Build Tools: android_gradle_plugin 8.8.0
**Additional context**
- Issue is reproducible with Filament v1.56.0
- Issue is resolved by reverting to Filament v1.52.0
- DIRECTIONAL lights (sun or simple DIRECTIONAL) work correctly
- Development environment details:
- Runtime version: 21.0.4+-12422083-b607.1 aarch64
- VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
- Memory: 4096M
- Cores: 14
- Metal Rendering: ON
- Non-Bundled Plugins: com.github.copilot (1.5.30-242)
Contributor guide
Assessment
This issue has not been assessed yet.