A message generated by the asset import process.
JSON representation | |
---|---|
{ "code": enum( |
Fields | |
---|---|
code |
The code associated with this message. |
objParseError |
An optional OBJ parse error. Only present for OBJ_PARSE_ERROR. |
imageError |
An optional image error. Only present for INVALID_IMAGE_FILE. |
filePath |
An optional file path. Only present for those error codes that specify it. |
ObjParseError
Details of an error resulting from parsing an OBJ file
JSON representation | |
---|---|
{
"code": enum( |
Fields | |
---|---|
code |
The type of problem found (required). |
filePath |
The file path in which the problem was found. |
lineNumber |
Line number at which the problem was found. |
startIndex |
The starting character index at which the problem was found. |
endIndex |
The ending character index at which the problem was found. |
line |
The text of the line. Note that this may be truncated if the line was very long. This may not include the error if it occurs after line truncation. |
ImageError
A message resulting from reading an image file.
JSON representation | |
---|---|
{
"filePath": string,
"code": enum( |
Fields | |
---|---|
filePath |
The file path in the import of the image that was rejected. |
code |
The type of image error encountered. Optional for older image errors. |