Lightweight FBX Importer
Search Results for

    Show / Hide Table of Contents

    Enum ufbx.ufbx_error_type

    Error causes (and UFBX_ERROR_NONE for no error).

    Namespace: ufbxWrapper
    Assembly: ufbxWrapper.dll
    Syntax
    public enum ufbx.ufbx_error_type

    Fields

    Name Description
    UFBX_ERROR_ALLOCATION_LIMIT

    ufbx_allocator_opts.allocation_limit exhausted.

    UFBX_ERROR_BAD_INDEX

    Out of bounds index in the file when loading with UFBX_INDEX_ERROR_HANDLING_ABORT_LOADING.

    UFBX_ERROR_BAD_NURBS

    Attempting to tessellate an invalid NURBS object. See ufbx_nurbs_basis.valid.

    UFBX_ERROR_CANCELLED

    User cancelled the loading via ufbx_load_opts.progress_cb returning UFBX_PROGRESS_CANCEL.

    UFBX_ERROR_DUPLICATE_OVERRIDE

    Duplicated override property in ufbx_create_anim()

    UFBX_ERROR_EMPTY_FILE

    Empty file.

    UFBX_ERROR_EXTERNAL_FILE_NOT_FOUND

    External file not found. See ufbx_load_opts.load_external_files for more information.

    UFBX_ERROR_FEATURE_DISABLED

    Feature needed for the operation has been compiled out.

    UFBX_ERROR_FILE_NOT_FOUND

    File not found.

    UFBX_ERROR_INVALID_UTF8

    Invalid UTF-8 encountered in a file when loading with UFBX_UNICODE_ERROR_HANDLING_ABORT_LOADING.

    UFBX_ERROR_IO

    IO read error. eg. returning SIZE_MAX from ufbx_stream.read_fn or stdio ferror() condition.

    UFBX_ERROR_MEMORY_LIMIT

    ufbx_allocator_opts.memory_limit exhausted.

    UFBX_ERROR_NODE_DEPTH_LIMIT

    Node is deeper than ufbx_load_opts.node_depth_limit in the hierarchy.

    UFBX_ERROR_NONE

    No error, operation has been performed successfully.

    UFBX_ERROR_OUT_OF_MEMORY

    Out of memory (allocator returned NULL).

    UFBX_ERROR_THREADED_ASCII_PARSE

    Error parsing ASCII array in a thread. Threaded ASCII parsing is slightly more strict than non-threaded, for cursed files, set ufbx_load_opts.force_single_thread_ascii_parsing to true.

    UFBX_ERROR_TRUNCATED_FILE

    File ended abruptly.

    UFBX_ERROR_TRUNCATED_VERTEX_STREAM

    Vertex stream passed to ufbx_generate_indices().

    UFBX_ERROR_TYPE_FORCE_32BIT
    UFBX_ERROR_UNINITIALIZED_OPTIONS

    Options struct (eg. ufbx_load_opts) is not cleared to zero. Make sure you initialize the structure to zero via eg. ufbx_load_opts opts = { 0 }; // C ufbx_load_opts opts = { }; // C++

    UFBX_ERROR_UNKNOWN

    Unspecified error, most likely caused by an invalid FBX file or a file that contains something ufbx can't handle.

    UFBX_ERROR_UNRECOGNIZED_FILE_FORMAT

    Could not detect file format from file data or filename. HINT: You can supply it manually using ufbx_load_opts.file_format or use ufbx_load_opts.filename when using ufbx_load_memory() to let ufbx guess the format from the extension.

    UFBX_ERROR_UNSAFE_OPTIONS

    Unsafe options specified without enabling ufbx_load_opts.allow_unsafe.

    UFBX_ERROR_UNSUPPORTED_VERSION

    Unsupported file format version. ufbx still tries to load files with unsupported versions, see UFBX_WARNING_UNSUPPORTED_VERSION.

    UFBX_ERROR_ZERO_VERTEX_SIZE

    The vertex streams in ufbx_generate_indices() are empty.

    In this article
    Back to top Generated by DocFX