rive-app / rive-app/rive-ios

Failed assertion since 6.9.1 on iPhone simulator on Intel based iMac

Open
#384 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triage
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

shoelace_animation.riv.zip

Expected behavior

Shoelace animation should start

Screenshots
Image
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.