FbxSharp icon indicating copy to clipboard operation
FbxSharp copied to clipboard

InvalidOperationException on Object's empty values

Open giuliorm opened this issue 8 years ago • 2 comments

Given FBX Object

Model: "Model::Camera Switcher", "CameraSwitcher" {
		Version: 232
		MultiLayer: 0
		MultiTake: 1
		CameraIndexName:
	}

Parser.cs fails with InvalidOperationException (method ReadObject())on the line with CameraIndexName: , because the value is missing. In this case should the FBX be considered invalid or the behavior of the parser is invalid and should somehow be corrected?

giuliorm avatar Nov 25 '17 16:11 giuliorm

The FBX i'm trying to parse

01_01.txt

giuliorm avatar Nov 25 '17 16:11 giuliorm

@giuliorm I've never seen an empty value like that. And the FBX SDK documentation doesn't talk about CameraIndexName at all. I'd be interested to see some additional examples of this. What software did you use to create the file? Motion Builder?

izrik avatar Mar 27 '19 15:03 izrik