Failed assertion since 6.9.1 on iPhone simulator on Intel based iMac
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 822
- Forks
- 104
- PR merge metrics
- No merged PRs in 30d
Description
Description
-[MTLDebugRenderCommandEncoder validateCommonDrawErrors:]:5782: failed assertion `Draw Errors Validation
Fragment Function(NB): missing sampler binding at index 13 for B3[0].
Provide a Repro
import SwiftUI
import RiveRuntime
struct ContentView: View {
var body: some View {
RiveViewModel(fileName: "shoelace_animation").view()
}
}
Source .riv/.rev file
Expected behavior
Shoelace animation should start
Screenshots
Device & Versions (please complete the following information)
iOS Simulator, iPhone 16 Pro, iOS version 18.1
Additional context
Issue appears on intel based iMac with Sonoma or Sequoia .
It's working fine with apple silicon iMac and on real devices.
Also it's working fine on Intel based iMac on versions before 6.9.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue from the SwiftUI ContentView example on an iPhone 16 Pro iOS 18.1 simulator running on an Intel iMac, using shoelace_animation.riv.zip. Compare behavior with versions before 6.9.1 and on Apple silicon or a real device. Done means the shoelace animation starts without the missing sampler binding assertion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- computer-graphics, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100