Post

Replies

Boosts

Views

Activity

Reply to Error message "Failed to set override status for bind point component member."
That is the whole line in the log. 😅 I've isolated the code where it's happening, and it looks like it's consistently happening when this function starts an animation: private func animateFallFrom(_ fall: AnimateCoordinate.From) { guard let entity = cubeEntityByCoordinate[fall.coordinate], let fromEntity = cubeEntityByCoordinate[fall.coordinateFrom] else { assertionFailure("could not find entity for some part of fall") return } let endPosition = entity.position let animationDefinition = FromToByAnimation( to: Transform(translation: endPosition), duration: DisplayConfig.current.fallingBlockTimeDuration, timing: .easeInOut, bindTarget: .transform, repeatMode: .none ) guard let animationResource = try? AnimationResource.generate(with: animationDefinition) else { assertionFailure("could not generate animation") return } entity.position = fromEntity.position entity.playAnimation(animationResource) }```
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’24