<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/kAudioUnitProperty_LastRenderError",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Audio Toolbox"
    ],
    "preciseIdentifier" : "c:@Ea@kAudioUnitProperty_ClassInfo@kAudioUnitProperty_LastRenderError"
  },
  "title" : "kAudioUnitProperty_LastRenderError"
}
-->

# kAudioUnitProperty_LastRenderError

A read-only `OSStatus` value valid on the audio unit global scope.

```
var kAudioUnitProperty_LastRenderError: AudioUnitPropertyID { get }
```

## Discussion

This property is set if a call to the [`AudioUnitRender(_:_:_:_:_:_:)`](/documentation/AudioToolbox/AudioUnitRender(_:_:_:_:_:_:)) function returns an error. To be notified of errors, register a callback function as a property listener using the [`AudioUnitAddPropertyListener(_:_:_:_:)`](/documentation/AudioToolbox/AudioUnitAddPropertyListener(_:_:_:_:)) function.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)