FBX conversion script not working – “Unexpected file type”

Thanks for all the hard work on getting Viro into our hands! I’m very new to the whole VR/AR scene and may not be going about this the right way, but I have recently obtained an FBX model located here: http://tinyurl.com/y7pfjcv2

When I try using the conversion script from the bin directory as shown below…
./ViroFBX js/res/heli.fbx js/res/heli.vrx

I get the following response:
2017-10-13 14:56:22.970 ViroFBX[7153:681045] "Loading file [js/res/heli.fbx]"
2017-10-13 14:56:22.971 ViroFBX[7153:681045] "Call to FBXImporter::Initialize() failed"
2017-10-13 14:56:22.971 ViroFBX[7153:681045] "Error returned: Unexpected file type"

Is there a certain type of FBX that is not compatible with viro or is this some other sort of error? Any guidance would be much appreciated!

1 possible answer(s) on “FBX conversion script not working – “Unexpected file type”

  1. Hi @tedjames,

    I think your problem may be that the path to your fbx file is incorrect.

    Assuming you didn’t change the directory structure, if you’re running the ViroFBX tool from within the /bin directory, the correct filepath to the file in theres directory should be ../js/res/heli.fbx. So the correct command should be:

    ./ViroFBX ../js/res/heli.fbx ../js/res/heli.vrx

    Let us know if that didn’t work!