google / google/filament

Shader link error using MaterialBuilder at runtime

Open
#5,810 7 comments 0 reactions 2 assignees Claimed by @bejado View on GitHub
gpu specific
Dominant language
C++
Stars
20.5k
Forks
2.3k
Avg merge
2d 14h
Merged PRs (30d)
83

Description

Android app sample-material-builder fails at runtime with the following logcat error:

```
E/Filament: Link error in "Clear coat":
"(null)"
```

The problem goes away if you swap from `MaterialBuilder.Optimization.NONE` to `MaterialBuilder.Optimization.PERFORMANCE` on [this line](https://github.com/google/filament/blob/release/android/samples/sample-material-builder/src/main/java/com/google/android/filament/material_builder/MainActivity.kt#L217).

I'm using the _release_ branch.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.