Skip to main content

Troubleshooting

This page contains common issues and solutions for the Genies NAFKit iOS SDK.

Error Codes

tip

Check out the NAFKit error codes for more information on possible errors.

Some of the APIs are not functional

There are some exposed APIs that currently do not work. Equipping assets, behavior, gestures, and emotions are not currently functional.

Please refer to the list below for APIs that are not functional and should be avoided for now:

// NAFView

// Gear/equipment system
func equip(_ asset: NAFAssetRef, lod: Int) async throws
func unequip(assetId: String)

// Gestures and emotions
func playGesture(tag: String)
func playEmotion(tag: String, intensity: Int)
var gestureTags: \[String\]
var emotionTags: \[String\]

// use/overrides of the NAFBehaviorConfig or idle parameters in loading methods

// NAFAvatarSession

// Future Features
func equip(_ asset: NAFAssetRef, lod: Int, trackingID: UUID?) async throws
func unequip(assetId: String)
func playGesture(tag: String)
func playEmotion(tag: String, intensity: Int)
var gestureTags: \[String\]
var emotionTags: \[String\]
var equippedAssetIds: \[String\]

// Advanced Behavior Weights
var talkingWeight: Float
var breathWeight: Float
var lookWeight: Float

// use/overrides of the NAFBehaviorConfig or idle parameters in loading methods

// Types

struct NAFBehaviorConfig
enum NAFDefaultAssets

// Shader Types
class NAFShaderManager
typealias NAFShaderAvatarID